浏览代码

fix(robbyrussell) multiline command editing (#11681)

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

Closes #11680
roodkcab 1 年之前
父节点
当前提交
aab3bfff9f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "