diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-29 12:38:34 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-29 12:38:34 +0300 |
commit | 2cc7df757bb4980dddaca598649bf44961ce9c74 (patch) | |
tree | 016edd6e906ce4c263fb6129f6d03425e7b2999e /internal/wizard.zsh | |
parent | 6699d15df94794cac2024fb5d6822cb50f34a2ce (diff) |
Revert "fork before calling _p9k_init_icons"
This reverts commit 6699d15df94794cac2024fb5d6822cb50f34a2ce.
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-x | internal/wizard.zsh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 4e430721..3f0f124b 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -236,16 +236,13 @@ function ask_narrow_icons() { cap_narrow_icons=0 return fi - local text=$( - _p9k_init_icons - print -nr -- "X" - print -nr -- "%1F${icons[VCS_GIT_ICON]// }%fX" - print -nr -- "%2F${icons[VCS_GIT_GITHUB_ICON]// }%fX" - print -nr -- "%3F${icons[DATE_ICON]// }%fX" - print -nr -- "%4F${icons[TIME_ICON]// }%fX" - print -nr -- "%5F${icons[RUBY_ICON]// }%fX" - print -nr -- "%6F${icons[AWS_EB_ICON]// }%fX" - ) + local text="X" + text+="%1F${icons[VCS_GIT_ICON]// }%fX" + text+="%2F${icons[VCS_GIT_GITHUB_ICON]// }%fX" + text+="%3F${icons[DATE_ICON]// }%fX" + text+="%4F${icons[TIME_ICON]// }%fX" + text+="%5F${icons[RUBY_ICON]// }%fX" + text+="%6F${icons[AWS_EB_ICON]// }%fX" while true; do clear 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 fi fi + _p9k_init_icons ask_narrow_icons || { (( $? == 2 )) && continue || return } ask_style || { (( $? == 2 )) && continue || return } ask_straight || { (( $? == 2 )) && continue || return } |