e11d81303753b0fefbc50ce10ec4612c7ff33e84
- Author
- Yuxuan Lu <luyuxuanleo@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(robbyrussell): line wrapping for some systems (#12058)
Diff
1diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme
2index 173e6d5796b44d3f5c9db0b9d017e113bd3ec3ca..cfecfc892a26ddae0826ca013c638ffce178cbed 100644
3--- a/themes/robbyrussell.zsh-theme
4+++ b/themes/robbyrussell.zsh-theme
5@@ -1,7 +1,7 @@
6-PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ ) %{$fg[cyan]%}%c%{$reset_color%}"
7+PROMPT="%(?:%{$fg_bold[green]%}%1{➜%} :%{$fg_bold[red]%}%1{➜%} ) %{$fg[cyan]%}%c%{$reset_color%}"
8 PROMPT+=' $(git_prompt_info)'
9
10 ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
11 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
12-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
13+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}%1{✗%}"
14 ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"