NVM: Avoid providing completions when nvm is not installed

pull/2077/head
Paul Melnikow 2013-09-05 10:09:19 -04:00
parent e3c02bfeba
commit 3007f96090
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#compdef nvm
#autoload
[[ -s ~/.nvm/nvm.sh ]] || return 0
local -a _1st_arguments
_1st_arguments=(
'help:show help'