mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +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
|
if [[ -o 'aliases' ]]; then
|
||||||
'builtin' 'unsetopt' 'aliases'
|
'builtin' 'unsetopt' 'aliases'
|
||||||
local _p9k_restore_aliases=1
|
local __p9k_restore_aliases=1
|
||||||
else
|
else
|
||||||
local _p9k_restore_aliases=0
|
local __p9k_restore_aliases=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
() {
|
() {
|
||||||
|
@ -49,5 +49,5 @@ fi
|
||||||
source $__p9k_installation_dir/internal/p10k.zsh || true
|
source $__p9k_installation_dir/internal/p10k.zsh || true
|
||||||
}
|
}
|
||||||
|
|
||||||
(( ! _p9k_restore_aliases )) || setopt aliases
|
(( ! __p9k_restore_aliases )) || setopt aliases
|
||||||
'builtin' 'unset' '_p9k_restore_aliases'
|
'builtin' 'unset' '__p9k_restore_aliases'
|
||||||
|
|
Loading…
Reference in a new issue