mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Merge pull request #4387 from mbologna/fix_git_equal_remote
Uniform git prompt equal remote
This commit is contained in:
commit
f186b62704
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ git_remote_status() {
|
||||||
|
|
||||||
if [ $ahead -eq 0 ] && [ $behind -eq 0 ]
|
if [ $ahead -eq 0 ] && [ $behind -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE"
|
git_remote_status="$ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE"
|
||||||
elif [ $ahead -gt 0 ] && [ $behind -eq 0 ]
|
elif [ $ahead -gt 0 ] && [ $behind -eq 0 ]
|
||||||
then
|
then
|
||||||
git_remote_status="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE"
|
git_remote_status="$ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE"
|
||||||
|
|
Loading…
Reference in a new issue