Skip to content

Commit

Permalink
[sh] handle spaces in sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
majnemer committed Nov 16, 2010
1 parent 323abfa commit 903686b
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 shinit
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}/.sh" ] ; then
for file in "${HOME}"/.sh/* ; do
. $file
. "${file}"
done
fi

0 comments on commit 903686b

Please sign in to comment.