Browse Source

fix(robbyrussell) multiline command editing (#11681)

Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>

Closes #11680
roodkcab 1 year ago
parent
commit
aab3bfff9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      themes/robbyrussell.zsh-theme

+ 2 - 2
themes/robbyrussell.zsh-theme

@@ -1,5 +1,5 @@
-PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
-PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
+PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ ) %{$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%} "