aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
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