Merge pull request #1711 from NoahGorny/rustup-completion

Add rustup completion
pull/1715/head
Noah Gorny 2020-11-20 16:23:58 +02:00 committed by GitHub
commit 63ad4897ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -27,3 +27,7 @@ lint_clean_files.sh
#
themes/90210
themes/powerline
# completions
#
completion/available/rustup.completion.bash

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# rustup (Rust toolchain installer) completion
if _binary_exists rustup; then
eval "$(rustup completions bash)"
fi