conf2/zsh/.oh-my-zsh/plugins/nvm/nvm.plugin.zsh

6 lines
173 B
Bash
Raw Permalink Normal View History

2019-01-12 15:47:23 +00:00
# Set NVM_DIR if it isn't already defined
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"
# Load nvm if it exists
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh"