diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-03-11 12:46:27 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-03-11 12:46:27 +0800 |
commit | ed5c04e370619553fb7f43b1993d82ba85f4b2dd (patch) | |
tree | 8d0eeb55008a297c8616cab4c1825ae367a0bfc4 | |
parent | 383aa325121751124e3fb4d0106d13b898da8bf9 (diff) | |
download | dotfiles-ed5c04e370619553fb7f43b1993d82ba85f4b2dd.tar.bz2 |
zsh: Unset variable after use
-rw-r--r-- | _zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |