mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
NVM: Avoid providing completions when nvm is not installed
This commit is contained in:
1 parent
e3c02bfeba
commit
3007f96090
1 file changed
+2
@@ -1,6 +1,8 @@
|
|||||||
#compdef nvm
|
#compdef nvm
|
||||||
#autoload
|
#autoload
|
||||||
|
|
||||||
|
[[ -s ~/.nvm/nvm.sh ]] || return 0
|
||||||
|
|
||||||
local -a _1st_arguments
|
local -a _1st_arguments
|
||||||
_1st_arguments=(
|
_1st_arguments=(
|
||||||
'help:show help'
|
'help:show help'
|
||||||
|
|||||||
Reference in new issue
Block a user