mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Add a space between git status information and current branch
This commit is contained in:
parent
fb2bfa7aaa
commit
a3814ff278
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ function git_remote_information {
|
|||
local pwd='%{$fg[white]%}$(collapse_pwd)%{$reset_color%}'
|
||||
|
||||
local return_code='%(?..%{$fg[red]%}%? ↵%{$reset_color%})'
|
||||
local git_information='$(git_prompt_status)%{$reset_color%}$(git_prompt_info)%{$reset_color%}%{$fg[cyan]%}$(git_remote_information)%{$reset_color%}'
|
||||
local git_information='$(git_prompt_status) %{$reset_color%}$(git_prompt_info)%{$reset_color%}%{$fg[cyan]%}$(git_remote_information)%{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue