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
|
# Path
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
# rbenv
|
# Ruby Gems
|
||||||
PATH="$HOME/.rbenv/bin:$PATH"
|
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
|
# Add Python to path
|
||||||
PYTHONPATH="${PYTHONPATH}"
|
PYTHONPATH="${PYTHONPATH}"
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
|
|
|
@ -47,8 +47,6 @@ function show_git_info(){
|
||||||
if which ruby >/dev/null && which gem >/dev/null; then
|
if which ruby >/dev/null && which gem >/dev/null; then
|
||||||
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
# RVM
|
|
||||||
PATH="$HOME/.rvm/bin:$PATH"
|
|
||||||
# Custom stuff
|
# Custom stuff
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
# Add Python to path
|
# Add Python to path
|
||||||
|
|
Loading…
Reference in a new issue