|
|
|
@ -119,11 +119,14 @@ if which go > /dev/null; then export GOPATH=$HOME/projects/go; fi
|
|
|
|
|
|
|
|
|
|
# ----------------------------------------- INITIALIZATIONS -------------------------------------- # |
|
|
|
|
|
|
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
|
|
|
eval "$(pyenv init -)" |
|
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# RVM configuration |
|
|
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" |
|
|
|
|
|
|
|
|
|
# Test for the `bash-completion` package. Installing this adds better tab completion to bash. |
|
|
|
|
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" |
|
|
|
|
|
|
|
|
@ -152,3 +155,6 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
|
|
|
|
else |
|
|
|
|
export PS1='\[$bold\]\[$white\]\u@\h\[$reset\]: \[$bold\]\[$blue\]\w\[$reset\] \[$green\]$(parse_git_branch)\[$reset\]\[$bold\]\[$white\]⇨\[$reset\] ' |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. |
|
|
|
|
export PATH="$PATH:$HOME/.rvm/bin" |
|
|
|
|