76a26a2a59d8c6d0f65a4426cdb93920e255aea7
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #4372 from afh/pull/emotty_theme
Fix issues with character widths in emotty theme
Diff
1diff --git a/themes/emotty.zsh-theme b/themes/emotty.zsh-theme
2index f646b2fa8f00d801030204ad14a7974dde06aa6b..34d491ff04217cf3719fafebcb56462909d9ec94 100644
3--- a/themes/emotty.zsh-theme
4+++ b/themes/emotty.zsh-theme
5@@ -51,7 +51,7 @@ root_prompt="$emoji[skull]"
6 warn_prompt="$emoji[collision_symbol]"
7
8 vcs_unstaged_glyph="%{$emoji[circled_latin_capital_letter_m]$emoji2[emoji_style] %2G%}"
9-vcs_staged_glyph="%{$emoji[high_voltage_sign] %1G%}"
10+vcs_staged_glyph="%{$emoji[high_voltage_sign] %2G%}"
11 vcs_branch_glyph=$(print -P $'\Ue0a0') #
12 vcs_action_glyph=$(print -P $'\U276f') # ❯
13
14@@ -60,7 +60,7 @@ yellow="$FG[003]"
15 green="$FG[002]"
16 cyan="$FG[014]"
17
18-prompt_glyph="%{%(#.${root_prompt}.${user_prompt})%1G%}"
19+prompt_glyph="%{%(#.${root_prompt}.${user_prompt}) %2G%}"
20
21 # Uncomment the next line if you also like to see the warn_prompt in the prompt on the right.
22 #last_command_failed="%(?.. %F{red}%1{${warn_prompt} %1G%}%?%f)"
23@@ -80,7 +80,7 @@ zstyle ':vcs_info:*' stagedstr "${green}${vcs_staged_glyph}"
24 # %(K|F){color} set (back|fore)ground color
25 # %(k|f) reset (back|fore)ground color
26 zstyle ':vcs_info:*' max-exports 3
27-zstyle ':vcs_info:*' nvcsformats "${prompt_glyph} " '%3~' ''
28+zstyle ':vcs_info:*' nvcsformats "${prompt_glyph}" '%3~' ''
29 zstyle ':vcs_info:*' formats "${yellow}%u%c%b${vcs_branch_glyph}%f" '%S|' "$FX[bold]%r$FX[no-bold]"
30 zstyle ':vcs_info:*' actionformats "${red}%K{white}%a${vcs_action_glyph}%k%f" '%S|' "$FX[bold]%r$FX[no-bold]"
31