aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-29 12:55:30 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-29 12:56:03 +0300
commit183ec8ff6ea8ea15cffb62b09e19b90ca8c4c80e (patch)
treeef88596a7df3b1b225babfdb6bf70adfc6b5ef2b /internal/p10k.zsh
parente67ad0fe382625f73f7070e176f265fb01f2c5f6 (diff)
survive ancient zsh in PATH (run wizard.zsh from a fork)
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh6
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index f8cfbb89..2576b887 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4220,11 +4220,7 @@ _p9k_precmd_impl() {
case $? in
0)
(
- local p=("${(@)parameters[(I)AWESOME_*|CODEPOINT_*]}")
- if (( $#p )); then
- typeset -x -- "$p"
- fi
- "$__p9k_root_dir"/internal/wizard.zsh -d "$__p9k_root_dir"
+ source "$__p9k_root_dir"/internal/wizard.zsh
)
if (( $? )); then
instant_prompt_disabled=1