This commit is contained in:
Andrey Akinshin 2026-01-23 16:32:14 +03:00 committed by GitHub
commit 4236cd05a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -228,7 +228,9 @@ prompt_git() {
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' get-revision true
zstyle ':vcs_info:*' check-for-changes true
if [[ -n $dirty ]]; then
zstyle ':vcs_info:*' check-for-changes true
fi
zstyle ':vcs_info:*' stagedstr '✚'
zstyle ':vcs_info:*' unstagedstr '±'
zstyle ':vcs_info:*' formats ' %u%c'