mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
[Fix #42] Count dirty files in Git repositories
This commit is contained in:
parent
17a4505a0a
commit
514aaa014b
2 changed files with 13 additions and 12 deletions
|
|
@ -29,8 +29,8 @@ zstyle ':omz:plugin:git:prompt' commit 'commit:%c'
|
|||
# %d - Indicator to notify of deleted files.
|
||||
zstyle ':omz:plugin:git:prompt' deleted 'deleted:%d'
|
||||
|
||||
# %D - Indicator to notify of dirty branch.
|
||||
zstyle ':omz:plugin:git:prompt' dirty 'dirty'
|
||||
# %D - Indicator to notify of dirty files.
|
||||
zstyle ':omz:plugin:git:prompt' dirty 'dirty:%D'
|
||||
|
||||
# %m - Indicator to notify of modified files.
|
||||
zstyle ':omz:plugin:git:prompt' modified 'modified:%m'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue