Update README.md to inform users of option usage

This commit is contained in:
xylous 2022-01-04 22:33:43 +02:00
parent abd7948993
commit ffb64c1106
No known key found for this signature in database
GPG Key ID: A9E6DA43F5E78D24

View File

@ -57,12 +57,19 @@ So, for example:
```zsh
setopt PROMPT_SUBST
PROMPT='%F{blue}%~%F{default} $(gitstatus) $ '
PROMPT='%F{blue}%~%F{default} $(gitstatus -i)$ '
```
### Options
- `-i`: use if your prompt is inline. It appends a whitespace character if the
output is non-empty; the formatting will always be proper, even if outside a git
repository.
## Roadmap
- [x] add screenshots
- [x] have better support for inline prompts
- [ ] cover more `git status` flags
## Contributing