1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

NVM: Avoid providing completions when nvm is not installed

This commit is contained in:
Paul Melnikow 2013-09-05 10:09:19 -04:00
parent e3c02bfeba
commit 3007f96090

View file

@ -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'