dots/bashrc

21 lines
422 B
Bash
Raw Permalink Normal View History

# ~/.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
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
fi
2010-05-31 15:40:50 -07:00
# extras
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
fi
2016-11-03 21:30:53 -07:00
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting