mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
make sure _p9k_restore_aliases does not get unset
This commit is contained in:
parent
07eae5942d
commit
2ec4ed0702
1 changed files with 4 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue