Browse Source

fix zsh rvm for 2.2.3

windhamdavid 8 years ago
parent
commit
845845a71e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      macs/.zshrc

+ 3 - 1
macs/.zshrc

@@ -8,6 +8,9 @@ export NODE_PATH=/usr/local/lib/node_modules
 export NVM_DIR=~/.nvm
 source $(brew --prefix nvm)/nvm.sh
 
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" 
+
 ZSH_THEME="dpoggi"
 export EDITOR='mate -w'
 DISABLE_AUTO_UPDATE="true"
@@ -35,7 +38,6 @@ plugins=(git textmate ruby rails node)
 
 # ssh
 # export SSH_KEY_PATH="~/.ssh/dsa_id"
-PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
 
 bindkey -v