[sh] handle spaces in sh files

This commit is contained in:
David Majnemer 2010-11-15 19:24:38 -06:00
parent 323abfab86
commit 903686b7c6
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
shinit
View file

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