mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Show staged deletions in git status
This commit is contained in:
parent
ee1fcc50bd
commit
a06016d703
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ parse_git_dirty () {
|
||||||
echo -n "$ZSH_THEME_GIT_PROMPT_DIRTY"
|
echo -n "$ZSH_THEME_GIT_PROMPT_DIRTY"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(echo ${gitstat} | grep -c "^[MAD]") > 0 ]]; then
|
if [[ $(echo ${gitstat} | grep -c "^[MARD]") > 0 ]]; then
|
||||||
echo -n "$ZSH_THEME_GIT_PROMPT_STAGED"
|
echo -n "$ZSH_THEME_GIT_PROMPT_STAGED"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue