2009-01-02 18:37:27 -05:00
|
|
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[ -z "$PS1" ] && return
|
|
|
|
|
2010-05-31 15:40:50 -07:00
|
|
|
# common shell utils
|
2009-01-13 01:39:40 -06:00
|
|
|
if [ -d "${HOME}/.commonsh" ] ; then
|
2010-05-31 15:40:50 -07:00
|
|
|
for file in "${HOME}"/.commonsh/* ; do
|
2010-11-15 19:24:38 -06:00
|
|
|
. "${file}"
|
2010-05-31 15:40:50 -07:00
|
|
|
done
|
2009-01-02 18:37:27 -05:00
|
|
|
fi
|
|
|
|
|
2010-05-31 15:40:50 -07:00
|
|
|
# extras
|
2009-01-13 01:39:40 -06:00
|
|
|
if [ -d "${HOME}/.bash" ] ; then
|
2010-05-31 15:40:50 -07:00
|
|
|
for file in "${HOME}"/.bash/* ; do
|
2010-11-15 19:24:38 -06:00
|
|
|
. "${file}"
|
2010-05-31 15:40:50 -07:00
|
|
|
done
|
2009-01-02 18:37:27 -05:00
|
|
|
fi
|
2016-11-03 21:30:53 -07:00
|
|
|
|
|
|
|
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|