summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-25 09:00:51 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-25 09:00:51 +0300
commit2ec4ed0702a1994471b74a11b4486f047163f71d (patch)
treefd3e1c041645e8172b772422b00d709d4386aad6 /powerlevel9k.zsh-theme
parent07eae5942dffaab033dc74b4d087f27844449da8 (diff)
make sure _p9k_restore_aliases does not get unset
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index cf038446..6cedd415 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -12,9 +12,9 @@
if [[ -o 'aliases' ]]; then
'builtin' 'unsetopt' 'aliases'
- local _p9k_restore_aliases=1
+ local __p9k_restore_aliases=1
else
- local _p9k_restore_aliases=0
+ local __p9k_restore_aliases=0
fi
() {
@@ -49,5 +49,5 @@ fi
source $__p9k_installation_dir/internal/p10k.zsh || true
}
-(( ! _p9k_restore_aliases )) || setopt aliases
-'builtin' 'unset' '_p9k_restore_aliases'
+(( ! __p9k_restore_aliases )) || setopt aliases
+'builtin' 'unset' '__p9k_restore_aliases'