diff options
Diffstat (limited to '.config/zsh')
| -rw-r--r-- | .config/zsh/custom/themes/0undefined.zsh-theme | 2 |
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 |
