From 3f5f9f4e97653d1d43324828d247fa50010d7f12 Mon Sep 17 00:00:00 2001 From: xylous Date: Fri, 21 Jan 2022 16:04:20 +0200 Subject: [PATCH] Fix deleted files not being tracked --- gitstatus.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus.plugin.zsh b/gitstatus.plugin.zsh index 7f12392..298106c 100755 --- a/gitstatus.plugin.zsh +++ b/gitstatus.plugin.zsh @@ -99,7 +99,7 @@ function parse_git_status() 'A '*|'M '*) ((staged++)) ;; - ' D '*) + 'D '*) ((deleted++)) ;; '?? '*)