mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
11 lines
297 B
Bash
11 lines
297 B
Bash
# The addition 'nvm install' attempts in ~/.profile
|
|
|
|
if [ -s ~/.nvm/nvm.sh ]; then
|
|
. $HOME/.nvm/nvm.sh
|
|
|
|
# Check if the NODE_VERSION environment variable is set,
|
|
# if so trigger nvm to use this.
|
|
if [[ $NODE_VERSION != "" ]]; then
|
|
nvm use $NODE_VERSION > /dev/null
|
|
fi
|
|
fi
|