mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
NVM: Avoid providing completions when nvm is not installed
This commit is contained in:
parent
e3c02bfeba
commit
3007f96090
@ -1,6 +1,8 @@
|
||||
#compdef nvm
|
||||
#autoload
|
||||
|
||||
[[ -s ~/.nvm/nvm.sh ]] || return 0
|
||||
|
||||
local -a _1st_arguments
|
||||
_1st_arguments=(
|
||||
'help:show help'
|
||||
|
Loading…
Reference in New Issue
Block a user