nvm path for non-mac
This commit is contained in:
parent
77bc4852ea
commit
cc2b55a5e9
1 changed files with 3 additions and 1 deletions
4
.zshrc
4
.zshrc
|
@ -9,6 +9,9 @@ PATH="$HOME/bin:$PATH"
|
||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
|
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
|
||||||
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
|
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
|
||||||
|
export NVM_DIR="/Users/atomaka/.nvm"
|
||||||
|
else
|
||||||
|
export NVM_DIR="/home/atomaka/.nvm"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# add path to newer bins on cse servers (github/rmblair)
|
# add path to newer bins on cse servers (github/rmblair)
|
||||||
|
@ -62,5 +65,4 @@ if test -d "$HOME/.rbenv/bin" ; then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export NVM_DIR="/Users/atomaka/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
Loading…
Reference in a new issue