X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/454e8ab89bd8cedf21941755d4fa8a574b8e3902..4605cb5190771d1a93e164e525f202efb62e3875:/zsh/lib/prompt.zsh?ds=sidebyside diff --git a/zsh/lib/prompt.zsh b/zsh/lib/prompt.zsh index a1be82b..56d702b 100644 --- a/zsh/lib/prompt.zsh +++ b/zsh/lib/prompt.zsh @@ -62,6 +62,7 @@ git_prompt_status() { [[ "$line" == 2\ R[.MTD]\ * ]] && (( renamed++ )) # work tree + [[ "$line" == 1\ [.MARCT]A\ * ]] && (( added++ , modified++ )) # intend-to-add [[ "$line" == 1\ [.MARCT]M\ * ]] && (( modified++ )) [[ "$line" == 1\ [.MARCT]D\ * ]] && (( deleted_wt++ )) [[ "$line" == \?\ * ]] && (( untracked++ ))