]> arthur.barton.de Git - ax-zsh.git/commitdiff
axemoji.axzshtheme: No spacing needed on VTE-based terminals
authorAlexander Barton <alex@barton.de>
Fri, 14 Apr 2017 11:35:27 +0000 (13:35 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 14 Apr 2017 11:35:27 +0000 (13:35 +0200)
themes/axemoji.axzshtheme

index 20b26211675b2180a7c21725069a2c4d7d4f90e3..d4923b366f3c74fb7e0633d9853dd39e6c6d93b5 100644 (file)
@@ -13,7 +13,9 @@ if axzsh_is_utf_terminal; then
        else
                system_emoji="🍀"
        fi
-       emoji_spacing=" "
+       [[ -n "$VTE_VERSION" ]] \
+               && emoji_spacing="" \
+               || emoji_spacing=" "
 
        ZSH_THEME_VCS_PROMPT_CLEAN="👌$emoji_spacing"
        ZSH_THEME_VCS_PROMPT_DIRTY="👻$emoji_spacing"