From 47bb601a722b294ac07c3f34b25ade8b1a06ecc3 Mon Sep 17 00:00:00 2001 From: 0scar Date: Tue, 22 Sep 2020 08:37:25 +0200 Subject: Remove optional locks for zsh theme --- .config/zsh/custom/themes/0undefined.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/custom/themes/0undefined.zsh-theme b/.config/zsh/custom/themes/0undefined.zsh-theme index 05dacf8..87257cc 100644 --- a/.config/zsh/custom/themes/0undefined.zsh-theme +++ b/.config/zsh/custom/themes/0undefined.zsh-theme @@ -11,7 +11,7 @@ append_if_nz() { git_status() { local STATUS CURRENT_COMMIT BRANCH AHEAD BEHIND STAGED CONFLICT CHANGHED DELETED UNTRACKED - STATUS="$(git status --porcelain=v2 --ignore-submodules --branch 2> /dev/null)" + STATUS="$(git --no-optional-locks status --porcelain=v2 --ignore-submodules --branch 2> /dev/null)" [ $? = 0 ] || return -- cgit v1.3