1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 09:05:27 +08:00

Update README for git-prompt to clarify how to use (#10922)

* Add note about need to customise theme.

It may not be obvious that the theme needs to be customised. See: https://github.com/ohmyzsh/ohmyzsh/issues/9395

* Clarify type of theme customisation needed.
This commit is contained in:
David Chin 2024-04-07 01:23:19 +08:00 committed by GitHub
parent d893dd9b83
commit bf713e2c11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,10 @@ To use it, add `git-prompt` to the plugins array in your zshrc file:
plugins=(... git-prompt)
```
You may also need to [customize your theme](https://github.com/ohmyzsh/ohmyzsh/issues/9395#issuecomment-1027130429)
to change the way the prompt is built. See the
[OMZ wiki on customizing themes](https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#overriding-and-adding-themes).
See the [original repository](https://github.com/olivierverdier/zsh-git-prompt).
## Requirements