aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 12:14:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 12:42:25 +1300
commitd0edad20fb5efc2dfc493345e1e7419c39a5558f (patch)
treeb8a8a8da3f8349b6679b83dac3f9a14678e5a407 /ksh/kshrc
parent1351b3f831a93f78665ee39c5a5b66d14a169d3d (diff)
downloaddotfiles-d0edad20fb5efc2dfc493345e1e7419c39a5558f.tar.gz
dotfiles-d0edad20fb5efc2dfc493345e1e7419c39a5558f.zip
Use consistent temp names for shell subfile vars
Diffstat (limited to 'ksh/kshrc')
-rw-r--r--ksh/kshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksh/kshrc b/ksh/kshrc
index 43ac14da..1aea4b9d 100644
--- a/ksh/kshrc
+++ b/ksh/kshrc
@@ -20,7 +20,7 @@ set -o trackall
HISTFILE=$HOME/.ksh_history
# Load any supplementary scripts
-for kshrc in "$HOME"/.kshrc.d/*.ksh ; do
- [[ -e $kshrc ]] && . "$kshrc"
+for ksh in "$HOME"/.kshrc.d/*.ksh ; do
+ [[ -e $ksh ]] && . "$ksh"
done
-unset -v kshrc
+unset -v ksh