diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-09-04 09:13:16 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-09-04 09:13:16 +0300 |
commit | 298fa2f325c50b250a9bc9fe664ee96107886813 (patch) | |
tree | a89f208f0f08e0d985abb01cac5a7476c32eaa76 /internal/configure.zsh | |
parent | 7c513a1e7964ec46354d24b735ea4ab42c5ff5d9 (diff) |
bug fix: don't attempt to source .p10k.zsh when wizard exits to restart iTerm2
Diffstat (limited to 'internal/configure.zsh')
-rw-r--r-- | internal/configure.zsh | 9 |
1 files changed, 7 insertions, 2 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 } |