diff --git a/zsh-nvm.plugin.zsh b/zsh-nvm.plugin.zsh index 49e0437..c166722 100644 --- a/zsh-nvm.plugin.zsh +++ b/zsh-nvm.plugin.zsh @@ -1,6 +1,6 @@ ZSH_NVM_DIR=${0:a:h} -[[ -z "$NVM_DIR" ]] && NVM_DIR="$HOME/.nvm" +[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm" _zsh_nvm_rename_function() { test -n "$(declare -f $1)" || return