Add cargo completion
parent
903c7b1383
commit
b630c1406e
|
|
@ -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