first commit
This commit is contained in:
commit
0610f4aeab
130 changed files with 9897 additions and 0 deletions
13
fn/-z4h-complete-cargo
Normal file
13
fn/-z4h-complete-cargo
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
(( $+commands[rustup] && $+commands[rustc] )) || {
|
||||
unset '_comps[cargo]'
|
||||
_default "$@"
|
||||
return
|
||||
}
|
||||
|
||||
{
|
||||
builtin source <(rustup completions zsh cargo)
|
||||
} always {
|
||||
(( $+functions[_cargo] )) && _comps[cargo]=_cargo || unset '_comps[cargo]'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue