This commit is contained in:
David O'Trakoun 2016-08-01 17:26:42 +00:00 committed by GitHub
commit a110966afb

View file

@ -1,7 +1,7 @@
#compdef nvm #compdef nvm
#autoload #autoload
[[ -s ~/.nvm/nvm.sh ]] || return 0 [[ -s "${NVM_DIR}/nvm.sh" ]] || return 0
local -a _1st_arguments local -a _1st_arguments
_1st_arguments=( _1st_arguments=(
@ -23,4 +23,4 @@ _arguments -C '*:: :->subcmds' && return 0
if (( CURRENT == 1 )); then if (( CURRENT == 1 )); then
_describe -t commands "nvm subcommand" _1st_arguments _describe -t commands "nvm subcommand" _1st_arguments
return return
fi fi