Logo
Explore Help
Sign In
gaspersic/ohmyzsh
1
0
Fork 0
You've already forked ohmyzsh
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
7c2028e84ede1ece09fa2dd13b5b6d8ba59ddfd1
ohmyzsh/plugins/nvm/nvm.plugin.zsh

6 lines
173 B
Bash
Raw Normal View History

nvm plugin improvements (#5265) * Export $NVM_DIR if it doesn't exist and use it when looking for nvm * Use $NVM_DIR when looking for nvm for completion * Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 18:36:44 +01:00
# Set NVM_DIR if it isn't already defined
[[ -z "$NVM_DIR" ]] && export NVM_DIR="$HOME/.nvm"
Plugin for Node Version Manager
2013-09-04 18:07:58 -04:00
nvm plugin improvements (#5265) * Export $NVM_DIR if it doesn't exist and use it when looking for nvm * Use $NVM_DIR when looking for nvm for completion * Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 18:36:44 +01:00
# Load nvm if it exists
[[ -f "$NVM_DIR/nvm.sh" ]] && source "$NVM_DIR/nvm.sh"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 87ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API