add some comments to "bashrc"

This commit is contained in:
David Majnemer 2010-05-31 15:40:50 -07:00
parent 20ec9302fe
commit e0d3c99e0d

2
bashrc
View file

@ -3,12 +3,14 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[ -z "$PS1" ] && return [ -z "$PS1" ] && return
# common shell utils
if [ -d "${HOME}/.commonsh" ] ; then if [ -d "${HOME}/.commonsh" ] ; then
for file in "${HOME}"/.commonsh/* ; do for file in "${HOME}"/.commonsh/* ; do
. $file . $file
done done
fi fi
# extras
if [ -d "${HOME}/.bash" ] ; then if [ -d "${HOME}/.bash" ] ; then
for file in "${HOME}"/.bash/* ; do for file in "${HOME}"/.bash/* ; do
. $file . $file