1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 23:00:09 +00:00

Merge pull request #4372 from afh/pull/emotty_theme

Fix issues with character widths in emotty theme
This commit is contained in:
Robby Russell 2015-09-21 18:10:20 -07:00
commit 76a26a2a59

View file

@ -51,7 +51,7 @@ root_prompt="$emoji[skull]"
warn_prompt="$emoji[collision_symbol]" warn_prompt="$emoji[collision_symbol]"
vcs_unstaged_glyph="%{$emoji[circled_latin_capital_letter_m]$emoji2[emoji_style] %2G%}" vcs_unstaged_glyph="%{$emoji[circled_latin_capital_letter_m]$emoji2[emoji_style] %2G%}"
vcs_staged_glyph="%{$emoji[high_voltage_sign] %1G%}" vcs_staged_glyph="%{$emoji[high_voltage_sign] %2G%}"
vcs_branch_glyph=$(print -P $'\Ue0a0') #  vcs_branch_glyph=$(print -P $'\Ue0a0') # 
vcs_action_glyph=$(print -P $'\U276f') # vcs_action_glyph=$(print -P $'\U276f') #
@ -60,7 +60,7 @@ yellow="$FG[003]"
green="$FG[002]" green="$FG[002]"
cyan="$FG[014]" cyan="$FG[014]"
prompt_glyph="%{%(#.${root_prompt}.${user_prompt})%1G%}" prompt_glyph="%{%(#.${root_prompt}.${user_prompt}) %2G%}"
# Uncomment the next line if you also like to see the warn_prompt in the prompt on the right. # Uncomment the next line if you also like to see the warn_prompt in the prompt on the right.
#last_command_failed="%(?.. %F{red}%1{${warn_prompt} %1G%}%?%f)" #last_command_failed="%(?.. %F{red}%1{${warn_prompt} %1G%}%?%f)"