Skip to content

Commit

Permalink
Merge pull request #1711 from NoahGorny/rustup-completion
Browse files Browse the repository at this point in the history
Add rustup completion
  • Loading branch information
Noah Gorny committed Nov 20, 2020
2 parents bd8b8bb + b70da51 commit 63ad489
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clean_files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ lint_clean_files.sh
#
themes/90210
themes/powerline

# completions
#
completion/available/rustup.completion.bash
7 changes: 7 additions & 0 deletions completion/available/rustup.completion.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# rustup (Rust toolchain installer) completion

if _binary_exists rustup; then
eval "$(rustup completions bash)"
fi

0 comments on commit 63ad489

Please sign in to comment.