aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-18 17:44:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-18 17:44:35 +1200
commit7e9f14a3388236f3759539bb54584f4664d6d90f (patch)
tree3a75579e58b3a52b0cb49216bbe038c3fdb3dca3 /sh
parentMove unset in run-parts bashrc/profile source (diff)
downloaddotfiles-7e9f14a3388236f3759539bb54584f4664d6d90f.tar.gz
dotfiles-7e9f14a3388236f3759539bb54584f4664d6d90f.zip
Use $_ for source parts topic var
Diffstat (limited to 'sh')
-rw-r--r--sh/profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sh/profile b/sh/profile
index f34f53cc..483e0b5a 100644
--- a/sh/profile
+++ b/sh/profile
@@ -5,9 +5,8 @@ fi
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ] ; then
- for config in "$HOME"/.profile.d/*.sh ; do
- . "$config"
+ for _ in "$HOME"/.profile.d/*.sh ; do
+ . "$_"
done
- unset -v config
fi