mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
- same behavior as the two lines the nvm install script puts in bashrc - set NVM_DIR to path where nvm is installed - allows for global installs in /opt or /usr/local
4 lines
136 B
Bash
4 lines
136 B
Bash
# The addition 'nvm install' attempts in ~/.profile
|
|
|
|
NVM_DIR="${NVM_DIR:=~/.nvm}"
|
|
[[ -s "${NVM_DIR}/nvm.sh" ]] && . "${NVM_DIR}/nvm.sh"
|