mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
survive ancient zsh in PATH (run wizard.zsh from a fork)
This commit is contained in:
parent
e67ad0fe38
commit
183ec8ff6e
3 changed files with 35 additions and 51 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue