aboutsummaryrefslogtreecommitdiffstats
path: root/_zshrc
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-03-11 12:46:27 +0800
committerAaron LI <aaronly.me@outlook.com>2017-03-11 12:46:27 +0800
commited5c04e370619553fb7f43b1993d82ba85f4b2dd (patch)
tree8d0eeb55008a297c8616cab4c1825ae367a0bfc4 /_zshrc
parent383aa325121751124e3fb4d0106d13b898da8bf9 (diff)
downloaddotfiles-ed5c04e370619553fb7f43b1993d82ba85f4b2dd.tar.bz2
zsh: Unset variable after use
Diffstat (limited to '_zshrc')
-rw-r--r--_zshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/_zshrc b/_zshrc
index d01135d..97c22ce 100644
--- a/_zshrc
+++ b/_zshrc
@@ -24,9 +24,10 @@
##
-for f in ~/.zsh/[0-9][0-9]-*.zsh; do
- source ${f}
+for _f in ~/.zsh/[0-9][0-9]-*.zsh; do
+ source ${_f}
done
+unset _f
## Local configurations
[ -r ~/.zshrc.local ] && source ~/.zshrc.local || true