Bash: Fix some "PATH" stuff
This commit is contained in:
parent
a73bc97c55
commit
b8d5228567
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue