From 55a1b92bcad16de8cd6a311e265de555138448d3 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 10 Aug 2019 11:01:47 +0200 Subject: [PATCH] strip spaces from os_icon when using narrow icons --- internal/wizard.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/wizard.zsh b/internal/wizard.zsh index e78129f5..5f9d6f96 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -899,6 +899,7 @@ function generate_config() { if (( cap_narrow_icons )); then sub VISUAL_IDENTIFIER_EXPANSION "'\${P9K_VISUAL_IDENTIFIER// }'" sub BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION "'\${P9K_VISUAL_IDENTIFIER// }'" + sub OS_ICON_CONTENT_EXPANSION "'%B\${P9K_CONTENT// }'" else sub VISUAL_IDENTIFIER_EXPANSION "'\${P9K_VISUAL_IDENTIFIER}'" sub BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION "'\${P9K_VISUAL_IDENTIFIER}'"