[rc] handle spaces in sourcing

This commit is contained in:
David Majnemer 2010-11-09 22:45:07 -06:00
parent 43d560cf0f
commit 198db727b4
2 changed files with 4 additions and 4 deletions

4
bashrc
View file

@ -6,13 +6,13 @@
# common shell utils
if [ -d "${HOME}/.commonsh" ] ; then
for file in "${HOME}"/.commonsh/* ; do
. $file
. "${file}"
done
fi
# extras
if [ -d "${HOME}/.bash" ] ; then
for file in "${HOME}"/.bash/* ; do
. $file
. "${file}"
done
fi

4
kshrc
View file

@ -1,11 +1,11 @@
if [ -d "${HOME}/.commonsh" ] ; then
for file in "${HOME}"/.commonsh/* ; do
. $file
. "${file}"
done
fi
if [ -d "${HOME}/.ksh" ] ; then
for file in "${HOME}"/.ksh/* ; do
. $file
. "${file}"
done
fi