From 34158d5c30e5fafc0ebd4077607aabc16eb6cc5b Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 22 Mar 2020 15:48:01 +0100 Subject: [PATCH] make os_icon non-bold even in lean style --- config/p10k-lean.zsh | 2 +- internal/wizard.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 87f39731..f4757427 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -174,7 +174,7 @@ # OS identifier color. typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND= # Make the icon bold. - typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='%B${P9K_CONTENT}' + typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='${P9K_CONTENT}' ################################[ prompt_char: prompt symbol ]################################ # Green prompt symbol if the last command succeeded. diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 2c1d9d41..db293154 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -50,7 +50,7 @@ local -r time_24h='16:23:42' local -r time_12h='04:23:42 PM' local -ra lean_left=( - '%$frame_color[$color]F╭─ ' '${extra_icons[1]:+%B%f$extra_icons[1] %b}%31F$extra_icons[2]%B%39F~%b%31F/%B%39Fsrc%b%f $prefixes[1]%76F$extra_icons[3]master%f ' + '%$frame_color[$color]F╭─ ' '${extra_icons[1]:+%f$extra_icons[1] }%31F$extra_icons[2]%B%39F~%b%31F/%B%39Fsrc%b%f $prefixes[1]%76F$extra_icons[3]master%f ' '%$frame_color[$color]F╰─' '%76F$prompt_char%f ${buffer:-$cursor}' )