1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 13:41:56 +00:00

bug fix: don't attempt to source .p10k.zsh when wizard exits to restart iTerm2

This commit is contained in:
romkatv 2019-09-04 08:13:16 +02:00
parent 7c513a1e79
commit 298fa2f325
2 changed files with 8 additions and 3 deletions

View file

@ -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
}

View file

@ -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
}