mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-07-18 12:58:21 +08:00
@@ -92,6 +92,7 @@ __nvm ()
|
||||
# ZSH, load and run bashcompinit before calling the complete function.
|
||||
if [[ -n ${ZSH_VERSION-} ]]; then
|
||||
autoload -U +X bashcompinit && bashcompinit
|
||||
autoload -U +X compinit && compinit
|
||||
fi
|
||||
|
||||
complete -o default -F __nvm nvm
|
||||
|
||||
Reference in New Issue
Block a user