aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc5
-rw-r--r--sh/profile5
2 files changed, 4 insertions, 6 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 77c2abd8..f472beae 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -73,9 +73,8 @@ fi
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]] ; then
- for config in "$HOME"/.bashrc.d/*.bash ; do
- source "$config"
+ for _ in "$HOME"/.bashrc.d/*.bash ; do
+ source "$_"
done
- unset -v config
fi
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