aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-10 12:01:47 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-10 12:01:47 +0300
commit55a1b92bcad16de8cd6a311e265de555138448d3 (patch)
tree321719a9e9e111d0e1a1de524d7a237f4cac324e /internal/wizard.zsh
parent79cfbd12e7662e5bdf7a6539c8e787295823ca64 (diff)
strip spaces from os_icon when using narrow icons
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-xinternal/wizard.zsh1
1 files changed, 1 insertions, 0 deletions
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}'"