summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/configure.zsh9
-rwxr-xr-xinternal/wizard.zsh2
2 files changed, 8 insertions, 3 deletions
diff --git a/internal/configure.zsh b/internal/configure.zsh
index fd9e8593..f8483d75 100644
--- a/internal/configure.zsh
+++ b/internal/configure.zsh
@@ -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
}
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index f32cfd2a..b3138632 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -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
}