aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-03 13:34:11 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-03 13:34:11 +0300
commit8167383665ff5def22670229a0eb4186aa05a361 (patch)
treebb553f6dd6605a9b5c1e9df2bb5096e6cc3d6e69
parentd031df752b6c5a8c7f4e2bb33b23af01a559ff2e (diff)
wizard bug fix: offer advanced powerline options when using nerdfont-v3nerdfonts-v3
-rw-r--r--internal/wizard.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index f15dfb35..ecc9a476 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1190,7 +1190,7 @@ function ask_separators() {
add_widget 2
add_widget 0 print -P "%B(2) Vertical.%b"
add_prompt left_sep='' right_sep='' left_subsep=$vertical_bar right_subsep=$vertical_bar
- if [[ $POWERLEVEL9K_MODE == nerdfont-complete ]]; then
+ if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
extra+=3
add_widget 0 print -P "%B(3) Slanted.%b"
add_prompt left_sep=$down_triangle right_sep=$up_triangle left_subsep=$slanted_bar right_subsep=$slanted_bar
@@ -1254,7 +1254,7 @@ function ask_heads() {
fi
add_widget 0 print -P "%B(2) Blurred.%b"
add_prompt left_head=$fade_out right_head=$fade_in
- if [[ $POWERLEVEL9K_MODE == nerdfont-complete ]]; then
+ if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
extra+=3
add_widget 0 print -P "%B(3) Slanted.%b"
add_prompt left_head=$down_triangle right_head=$up_triangle
@@ -1322,7 +1322,7 @@ function ask_tails() {
extra+=3
add_widget 0 print -P "%B(3) Sharp.%b"
add_prompt left_tail=$left_triangle right_tail=$right_triangle
- if [[ $POWERLEVEL9K_MODE == nerdfont-complete ]]; then
+ if [[ $POWERLEVEL9K_MODE == nerdfont-* ]]; then
extra+=4
add_widget 0 print -P "%B(4) Slanted.%b"
add_prompt left_tail=$up_triangle right_tail=$down_triangle