Merge pull request #1711 from NoahGorny/rustup-completion

Add rustup completion
This commit is contained in:
Noah Gorny
2020-11-20 16:23:58 +02:00
committed by GitHub
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