From 281614aacd622e03dbc1d891b4621f1ec173b5fd Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sat, 30 Jul 2016 00:05:39 +0100 Subject: [PATCH] Export $NVM_DIR --- zsh-nvm.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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