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