mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-29 06:40:08 +00:00
Revert "fork before calling _p9k_init_icons"
This reverts commit 6699d15df9
.
This commit is contained in:
parent
6699d15df9
commit
2cc7df757b
1 changed files with 8 additions and 10 deletions
|
@ -236,16 +236,13 @@ function ask_narrow_icons() {
|
||||||
cap_narrow_icons=0
|
cap_narrow_icons=0
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
local text=$(
|
local text="X"
|
||||||
_p9k_init_icons
|
text+="%1F${icons[VCS_GIT_ICON]// }%fX"
|
||||||
print -nr -- "X"
|
text+="%2F${icons[VCS_GIT_GITHUB_ICON]// }%fX"
|
||||||
print -nr -- "%1F${icons[VCS_GIT_ICON]// }%fX"
|
text+="%3F${icons[DATE_ICON]// }%fX"
|
||||||
print -nr -- "%2F${icons[VCS_GIT_GITHUB_ICON]// }%fX"
|
text+="%4F${icons[TIME_ICON]// }%fX"
|
||||||
print -nr -- "%3F${icons[DATE_ICON]// }%fX"
|
text+="%5F${icons[RUBY_ICON]// }%fX"
|
||||||
print -nr -- "%4F${icons[TIME_ICON]// }%fX"
|
text+="%6F${icons[AWS_EB_ICON]// }%fX"
|
||||||
print -nr -- "%5F${icons[RUBY_ICON]// }%fX"
|
|
||||||
print -nr -- "%6F${icons[AWS_EB_ICON]// }%fX"
|
|
||||||
)
|
|
||||||
while true; do
|
while true; do
|
||||||
clear
|
clear
|
||||||
centered "%BDo all these icons %b%2Ffit between the crosses%f%B?%b"
|
centered "%BDo all these icons %b%2Ffit between the crosses%f%B?%b"
|
||||||
|
@ -677,6 +674,7 @@ while true; do
|
||||||
(( cap_python )) && POWERLEVEL9K_MODE=awesome-fontconfig || POWERLEVEL9K_MODE=nerdfont-complete
|
(( cap_python )) && POWERLEVEL9K_MODE=awesome-fontconfig || POWERLEVEL9K_MODE=nerdfont-complete
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
_p9k_init_icons
|
||||||
ask_narrow_icons || { (( $? == 2 )) && continue || return }
|
ask_narrow_icons || { (( $? == 2 )) && continue || return }
|
||||||
ask_style || { (( $? == 2 )) && continue || return }
|
ask_style || { (( $? == 2 )) && continue || return }
|
||||||
ask_straight || { (( $? == 2 )) && continue || return }
|
ask_straight || { (( $? == 2 )) && continue || return }
|
||||||
|
|
Loading…
Reference in a new issue