mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
fix(lib): mark changes as MODIFIED on 'MM' in git_prompt_status
(#9552)
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes. This change marks that case as MODIFIED instead of ADDED.
This commit is contained in:
parent
0f6aa0182c
commit
88ffc2f666
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ function git_prompt_status() {
|
||||||
'\?\? ' 'UNTRACKED'
|
'\?\? ' 'UNTRACKED'
|
||||||
'A ' 'ADDED'
|
'A ' 'ADDED'
|
||||||
'M ' 'ADDED'
|
'M ' 'ADDED'
|
||||||
'MM ' 'ADDED'
|
'MM ' 'MODIFIED'
|
||||||
' M ' 'MODIFIED'
|
' M ' 'MODIFIED'
|
||||||
'AM ' 'MODIFIED'
|
'AM ' 'MODIFIED'
|
||||||
' T ' 'MODIFIED'
|
' T ' 'MODIFIED'
|
||||||
|
|
Loading…
Reference in a new issue