.bashrc

Sun, 29 Mar 2015 17:52:22 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 29 Mar 2015 17:52:22 -0400
changeset 174
d94a247836c8
parent 97
dadc95ee5fe6
child 270
dda2a7f4d485
permissions
-rw-r--r--

move some basics into a common profile

# .bashrc: executed for non-login shells
#          probably sourced by .bash_profile though

if [ -f ~/.bashrc.dist ]; then
  source ~/.bashrc.dist
fi

source ~/.profile.common

if [ -d ~/bin ]; then
  export PATH="$HOME/bin:$PATH"
fi

if [ -d ~/.plenv ]; then
  export PATH="$HOME/.plenv/bin:$PATH"
  eval "$(plenv init -)"
fi

if [ -d ~/.rbenv ]; then
  export PATH="$HOME/.rbenv/bin:$PATH"
  eval "$(rbenv init -)"
fi


if [ -f ~/.bashrc.local ]; then
  source ~/.bashrc.local
fi

mercurial