diff --git a/bash/bashrc.symlink b/bash/bashrc.symlink index 80b5d05..421e56b 100644 --- a/bash/bashrc.symlink +++ b/bash/bashrc.symlink @@ -25,3 +25,5 @@ fi # setting a custom prompt, with git branch info export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' + +PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index cad26e0..0ee59dc 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -26,11 +26,12 @@ export EDITOR='vim' export PATH=/usr/local/bin:$PATH +# load rvm +if [[ -d ~/.rvm ]]; then + source ~/.rvm/scripts/rvm +fi + # check for custom bin directory and add to path if [[ -d ~/bin ]]; then export PATH=~/bin:$PATH fi - -# load RVM -[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" -