aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
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 /bash/bashrc
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 'bash/bashrc')
-rw-r--r--bash/bashrc5
1 files changed, 2 insertions, 3 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