From cc2b55a5e9461360f767713aca3516b42ea2ce02 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 22 Sep 2014 22:53:53 -0400 Subject: [PATCH] nvm path for non-mac --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 2749b78..077751d 100644 --- a/.zshrc +++ b/.zshrc @@ -9,6 +9,9 @@ PATH="$HOME/bin:$PATH" if [[ "$OSTYPE" == darwin* ]]; then PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH" + export NVM_DIR="/Users/atomaka/.nvm" +else + export NVM_DIR="/home/atomaka/.nvm" fi # add path to newer bins on cse servers (github/rmblair) @@ -62,5 +65,4 @@ if test -d "$HOME/.rbenv/bin" ; then eval "$(rbenv init -)" fi -export NVM_DIR="/Users/atomaka/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm