Bash: Fix some "PATH" stuff

This commit is contained in:
Bill Nibz 2017-12-22 19:44:42 -05:00
parent a73bc97c55
commit b8d5228567
2 changed files with 6 additions and 4 deletions

View file

@ -77,8 +77,12 @@ function sojourner_tmux(){
#===============================================================================
# Path
#===============================================================================
# rbenv
PATH="$HOME/.rbenv/bin:$PATH"
# Ruby Gems
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
# Custom stuff
PATH="$HOME/bin:$PATH"
# Add Python to path
PYTHONPATH="${PYTHONPATH}"
export PYTHONPATH

View file

@ -47,8 +47,6 @@ function show_git_info(){
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
# RVM
PATH="$HOME/.rvm/bin:$PATH"
# Custom stuff
PATH="$HOME/bin:$PATH"
# Add Python to path