Add cargo completion
parent
4a5ea95e2e
commit
4d51bfcaf4
|
|
@ -30,5 +30,6 @@ themes/powerline
|
|||
|
||||
# completions
|
||||
#
|
||||
completion/available/rustup.completion.bash
|
||||
completion/available/cargo.completion.bash
|
||||
completion/available/pipx.completion.bash
|
||||
completion/available/rustup.completion.bash
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# cargo (Rust package manager) completion
|
||||
|
||||
if _binary_exists rustup && _binary_exists cargo; then
|
||||
eval "$(rustup completions bash cargo)"
|
||||
fi
|
||||
Loading…
Reference in New Issue