mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Merge 50b729c0c0 into 35068db837
This commit is contained in:
commit
2d717c5063
1 changed files with 3 additions and 1 deletions
|
|
@ -228,7 +228,9 @@ prompt_git() {
|
||||||
|
|
||||||
zstyle ':vcs_info:*' enable git
|
zstyle ':vcs_info:*' enable git
|
||||||
zstyle ':vcs_info:*' get-revision true
|
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:*' stagedstr '✚'
|
||||||
zstyle ':vcs_info:*' unstagedstr '±'
|
zstyle ':vcs_info:*' unstagedstr '±'
|
||||||
zstyle ':vcs_info:*' formats ' %u%c'
|
zstyle ':vcs_info:*' formats ' %u%c'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue