mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
remove extra space if not in git
This commit is contained in:
parent
b8464d87f3
commit
ffd00974a0
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ local return_code="%(?,,%{$fg[red]%}%? ↵%{$reset_color%})"
|
|||
local prompt_char="%B%(!,#,»)%b"
|
||||
local who_where="%(!,%{$fg[magenta]%}%n@%m,%{$fg[blue]%}%m)%{$reset_color%}"
|
||||
|
||||
PROMPT='$(git_prompt_info abbr) $who_where %{$fg[cyan]%}%2~ %{$reset_color%}$prompt_char '
|
||||
PROMPT='$(git_prompt_info abbr)%1(l, ,)$who_where %{$fg[cyan]%}%2~ %{$reset_color%}$prompt_char '
|
||||
RPS1="${return_code}"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue