mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fix location of $(git_prompt_ahead).
This commit is contained in:
parent
f36ab837b3
commit
7fec3e6003
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ function prompt_char {
|
||||||
|
|
||||||
# Prompt format
|
# Prompt format
|
||||||
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
||||||
PROMPT='${user} at ${loc} in %{$fg_bold[blue]%}$(collapse_pwd)%{$reset_color%}$(git_prompt_ahead)$(git_prompt_info)$(git_prompt_status)$(git_prompt_short_sha)%{$reset_color%}
|
PROMPT='${user} at ${loc} in %{$fg_bold[blue]%}$(collapse_pwd)%{$reset_color%}$(git_prompt_info)$(git_prompt_status)$(git_prompt_short_sha)%{$reset_color%}$(git_prompt_ahead)
|
||||||
%{$fg_bold[white]%}$(prompt_char)%{$reset_color%} '
|
%{$fg_bold[white]%}$(prompt_char)%{$reset_color%} '
|
||||||
RPROMPT='${ret_status}'
|
RPROMPT='${ret_status}'
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue