mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
add git promt status
This commit is contained in:
parent
7aad3027a6
commit
e6307abfce
2 changed files with 1 additions and 1 deletions
0
file
Normal file
0
file
Normal file
|
|
@ -4,7 +4,7 @@ function collapse_pwd {
|
|||
|
||||
RPROMPT='%(?.%{$fg[green]%}✔ .%{$fg[red]%}✖ )% %{$reset_color%}'
|
||||
|
||||
PROMPT='%{$fg[yellow]%}λ %m %{$fg[green]%}$(collapse_pwd) $(git_prompt_info)%{$reset_color%}
|
||||
PROMPT='%{$fg[yellow]%}λ %m %{$fg[green]%}$(collapse_pwd) $(git_prompt_info)%{$reset_color%}$(git_prompt_status)%{$reset_color%}
|
||||
$fg[yellow]%}→%{$reset_color%} '
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}→ λ %{$fg[blue]%}git %{$fg[cyan]%}⭠ "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue