mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 0b343a8f9e into f5537241a4
This commit is contained in:
commit
a110966afb
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue