mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Added support for ignoring Git submodules.
This commit is contained in:
parent
0829f921db
commit
3f3b2328f9
2 changed files with 20 additions and 1 deletions
|
|
@ -56,3 +56,9 @@ zstyle ':omz:plugin:git:prompt' prompt ' git:(%b %D%C)'
|
|||
# Right prompt.
|
||||
zstyle ':omz:plugin:git:prompt' rprompt ''
|
||||
|
||||
# Ignore submodule.
|
||||
zstyle ':omz:plugin:git:prompt:ignore' submodule 'no'
|
||||
|
||||
# Ignore submodule when it is 'dirty', 'untracked', 'all', or 'none'.
|
||||
zstyle ':omz:plugin:git:prompt:ignore:submodule' when 'all'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue