Skip to content

Commit

Permalink
[rc] handle spaces in sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer committed Nov 10, 2010
1 parent 43d560c commit 198db72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 2 deletions kshrc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 198db72

Please sign in to comment.