aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-15 13:34:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-15 13:34:11 +1200
commitff849b2c0b0e5fda81f882379c50c8d71b410cc8 (patch)
tree169aac7263f1946248458925b5db6d30fb560775
parentMore thorough check for 'j' in 'formatoptions' (diff)
downloaddotfiles-ff849b2c0b0e5fda81f882379c50c8d71b410cc8.tar.gz
dotfiles-ff849b2c0b0e5fda81f882379c50c8d71b410cc8.zip
Move unset in run-parts bashrc/profile source
-rw-r--r--bash/bashrc2
-rw-r--r--sh/profile2
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index b8fb1186..77c2abd8 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -76,6 +76,6 @@ if [[ -d $HOME/.bashrc.d ]] ; then
for config in "$HOME"/.bashrc.d/*.bash ; do
source "$config"
done
+ unset -v config
fi
-unset -v config
diff --git a/sh/profile b/sh/profile
index 189f456a..f34f53cc 100644
--- a/sh/profile
+++ b/sh/profile
@@ -8,6 +8,6 @@ if [ -d "$HOME"/.profile.d ] ; then
for config in "$HOME"/.profile.d/*.sh ; do
. "$config"
done
+ unset -v config
fi
-unset -v config