survive ancient zsh in PATH (run wizard.zsh from a fork)

This commit is contained in:
romkatv 2019-11-29 10:55:30 +01:00
commit 183ec8ff6e
3 changed files with 40 additions and 56 deletions

View file

@ -63,11 +63,8 @@ function p9k_configure() {
emulate -L zsh
setopt no_hist_expand extended_glob
(
local p=("${(@)parameters[(I)AWESOME_*|CODEPOINT_*]}")
if (( $#p )); then
typeset -x -- $p
fi
$__p9k_root_dir/internal/wizard.zsh -d $__p9k_root_dir -f
set -- -f
source $__p9k_root_dir/internal/wizard.zsh
)
local ret=$?
case $ret in