Added rvm info to bashrc/zshrc
This commit is contained in:
@@ -25,3 +25,5 @@ fi
|
|||||||
|
|
||||||
# setting a custom prompt, with git branch info
|
# setting a custom prompt, with git branch info
|
||||||
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
|
export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
|
||||||
|
|
||||||
|
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
||||||
|
|||||||
@@ -26,11 +26,12 @@ export EDITOR='vim'
|
|||||||
|
|
||||||
export PATH=/usr/local/bin:$PATH
|
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
|
# check for custom bin directory and add to path
|
||||||
if [[ -d ~/bin ]]; then
|
if [[ -d ~/bin ]]; then
|
||||||
export PATH=~/bin:$PATH
|
export PATH=~/bin:$PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# load RVM
|
|
||||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user