nvm.plugin.zsh 173 Bytes
Newer Older
Luke Childs's avatar
Luke Childs committed
1
2
# Set NVM_DIR if it isn't already defined
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"
3

Luke Childs's avatar
Luke Childs committed
4
5
# Load nvm if it exists
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh"