]> arthur.barton.de Git - ax-zsh.git/commitdiff
axemoji.axzshtheme: Respect emoji spacing for RPS1, too
authorAlexander Barton <alex@barton.de>
Fri, 14 Apr 2017 11:35:55 +0000 (13:35 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 14 Apr 2017 11:35:55 +0000 (13:35 +0200)
themes/axemoji.axzshtheme

index d4923b366f3c74fb7e0633d9853dd39e6c6d93b5..58d9829e50415e9685b0771e8f08450ed91eabb9 100644 (file)
@@ -21,7 +21,7 @@ if axzsh_is_utf_terminal; then
        ZSH_THEME_VCS_PROMPT_DIRTY="👻$emoji_spacing"
 
        # Prompt on right side
-       RPS1="%(?..%{$fg_no_bold[red]%}❌ %? ↵%{$reset_color%})"
+       RPS1="%(?..%{$fg_no_bold[red]%}❌%{$emoji_spacing%}%? ↵%{$reset_color%})"
 else
        # Non-UTF8 terminal
        system_emoji=">"