aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:03:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:03:52 +1200
commit6543c4ed787a4659e01297f9034a375c64d51de2 (patch)
treefa4790dfa93ff00877f2e57c2d4f53ef66b38bde /sh
parentSafer version number test (diff)
downloaddotfiles-6543c4ed787a4659e01297f9034a375c64d51de2.tar.gz
dotfiles-6543c4ed787a4659e01297f9034a375c64d51de2.zip
Don't clobber $_ (changed my mind)
Diffstat (limited to 'sh')
-rw-r--r--sh/profile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sh/profile b/sh/profile
index 483e0b5a..6d873c67 100644
--- a/sh/profile
+++ b/sh/profile
@@ -5,8 +5,9 @@ fi
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ] ; then
- for _ in "$HOME"/.profile.d/*.sh ; do
- . "$_"
+ for profile in "$HOME"/.profile.d/*.sh ; do
+ . "$profile"
done
+ unset -v profile
fi