summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorYuxuan Lu <luyuxuanleo@gmail.com>2023-11-24 03:45:32 -0500
committerGitHub <noreply@github.com>2023-11-24 09:45:32 +0100
commite11d81303753b0fefbc50ce10ec4612c7ff33e84 (patch)
treef9cccd9fb95ce467025bda3811fbf87e5c394692 /themes
parentddf673b36dd43e5ca60189a117c25ad6f55457e7 (diff)
downloadzsh-e11d81303753b0fefbc50ce10ec4612c7ff33e84.tar.gz
zsh-e11d81303753b0fefbc50ce10ec4612c7ff33e84.tar.bz2
zsh-e11d81303753b0fefbc50ce10ec4612c7ff33e84.zip
fix(robbyrussell): line wrapping for some systems (#12058)
Diffstat (limited to 'themes')
-rw-r--r--themes/robbyrussell.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme
index 173e6d579..cfecfc892 100644
--- a/themes/robbyrussell.zsh-theme
+++ b/themes/robbyrussell.zsh-theme
@@ -1,7 +1,7 @@
-PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ ) %{$fg[cyan]%}%c%{$reset_color%}"
+PROMPT="%(?:%{$fg_bold[green]%}%1{➜%} :%{$fg_bold[red]%}%1{➜%} ) %{$fg[cyan]%}%c%{$reset_color%}"
PROMPT+=' $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}%1{✗%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"