Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
1a51100d
Commit
1a51100d
authored
Sep 20, 2015
by
Alexis Hildebrandt
Browse files
Fix issues with character widths in emotty theme
parent
918d26e7
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/emotty.zsh-theme
View file @
1a51100d
...
...
@@ -51,7 +51,7 @@ root_prompt="$emoji[skull]"
warn_prompt
=
"
$emoji
[collision_symbol]"
vcs_unstaged_glyph
=
"%{
$emoji
[circled_latin_capital_letter_m]
$emoji2
[emoji_style] %2G%}"
vcs_staged_glyph
=
"%{
$emoji
[high_voltage_sign] %
1
G%}"
vcs_staged_glyph
=
"%{
$emoji
[high_voltage_sign] %
2
G%}"
vcs_branch_glyph
=
$(
print
-P
$'
\U
e0a0'
)
#
vcs_action_glyph
=
$(
print
-P
$'
\U
276f'
)
# ❯
...
...
@@ -60,7 +60,7 @@ yellow="$FG[003]"
green
=
"
$FG
[002]"
cyan
=
"
$FG
[014]"
prompt_glyph
=
"%{%(#.
${
root_prompt
}
.
${
user_prompt
}
)
%1
G%}"
prompt_glyph
=
"%{%(#.
${
root_prompt
}
.
${
user_prompt
}
)
%2
G%}"
# 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)"
...
...
@@ -80,7 +80,7 @@ zstyle ':vcs_info:*' stagedstr "${green}${vcs_staged_glyph}"
# %(K|F){color} set (back|fore)ground color
# %(k|f) reset (back|fore)ground color
zstyle
':vcs_info:*'
max-exports 3
zstyle
':vcs_info:*'
nvcsformats
"
${
prompt_glyph
}
"
'%3~'
''
zstyle
':vcs_info:*'
nvcsformats
"
${
prompt_glyph
}
"
'%3~'
''
zstyle
':vcs_info:*'
formats
"
${
yellow
}
%u%c%b
${
vcs_branch_glyph
}
%f"
'%S|'
"
$FX
[bold]%r
$FX
[no-bold]"
zstyle
':vcs_info:*'
actionformats
"
${
red
}
%K{white}%a
${
vcs_action_glyph
}
%k%f"
'%S|'
"
$FX
[bold]%r
$FX
[no-bold]"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment