mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Fix MM lines being read correctly
This commit is contained in:
1 parent
d99284f6b5
commit
3eae652a6d
1 file changed
+1
-1
@@ -49,7 +49,7 @@ custom_git_prompt_status() {
|
||||
if $(echo "$INDEX" | grep '^R' &> /dev/null); then
|
||||
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_RENAMED$STATUS"
|
||||
fi
|
||||
if $(echo "$INDEX" | grep '^M ' &> /dev/null); then
|
||||
if $(echo "$INDEX" | grep '^M' &> /dev/null); then
|
||||
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_MODIFIED$STATUS"
|
||||
fi
|
||||
if $(echo "$INDEX" | grep '^A' &> /dev/null); then
|
||||
|
||||
Reference in new issue
Block a user