summaryrefslogtreecommitdiff
path: root/.config/zsh/custom
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2020-09-22 06:37:25 +0000
committer0scar <qgt268@alumni.ku.dk>2020-09-22 06:37:25 +0000
commit47bb601a722b294ac07c3f34b25ade8b1a06ecc3 (patch)
treec8107217cdda1572cd0967b6f0bfda8b88100e3f /.config/zsh/custom
parent80ed82b2c23639136ea784c2ae7e32c1667bbad4 (diff)
Remove optional locks for zsh theme
Diffstat (limited to '.config/zsh/custom')
-rw-r--r--.config/zsh/custom/themes/0undefined.zsh-theme2
1 files changed, 1 insertions, 1 deletions
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