mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
bug fix: don't attempt to source .p10k.zsh when wizard exits to restart iTerm2
This commit is contained in:
parent
7c513a1e79
commit
298fa2f325
2 changed files with 8 additions and 3 deletions
|
@ -66,6 +66,11 @@ function p9k_configure() {
|
|||
typeset -x -- $p
|
||||
fi
|
||||
$__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir -f
|
||||
) || return
|
||||
source $__p9k_cfg_path
|
||||
)
|
||||
local ret=$?
|
||||
case $ret in
|
||||
0) source $__p9k_cfg_path;;
|
||||
69) return 0;;
|
||||
*) return $ret;;
|
||||
esac
|
||||
}
|
||||
|
|
|
@ -331,7 +331,7 @@ function install_font() {
|
|||
flowing +c -i 5 " 1. Click" "%BiTerm2 → Quit iTerm2%b" or press "%B⌘ Q%b."
|
||||
flowing +c -i 5 " 2. Open %BiTerm2%b."
|
||||
print -P ""
|
||||
exit 0
|
||||
exit 69
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue