mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
fix(git-prompt): fix clean prompt when stash is not empty (#9978)
Fixes #9978
This commit is contained in:
parent
7e4273f440
commit
bc7bc74469
2 changed files with 5 additions and 5 deletions
|
|
@ -11,7 +11,8 @@ plugins=(... git-prompt)
|
|||
|
||||
See the [original repository](https://github.com/olivierverdier/zsh-git-prompt).
|
||||
|
||||
## Prerequisites
|
||||
## Requirements
|
||||
|
||||
This plugin uses `python`, so your host needs to have it installed
|
||||
|
||||
## Examples
|
||||
|
|
@ -30,7 +31,7 @@ The prompt may look like the following:
|
|||
|
||||
By default, the general appearance of the prompt is:
|
||||
|
||||
```
|
||||
```text
|
||||
(<branch><branch tracking>|<local status>)
|
||||
```
|
||||
|
||||
|
|
@ -58,9 +59,8 @@ The symbols are as follows:
|
|||
## Customisation
|
||||
|
||||
- Set the variable `ZSH_THEME_GIT_PROMPT_CACHE` to any value in order to enable caching.
|
||||
- You may also change a number of variables (whose name start with `ZSH_THEME_GIT_PROMPT_`)
|
||||
- You may also change a number of variables (whose name start with `ZSH_THEME_GIT_PROMPT_`)
|
||||
to change the appearance of the prompt. Take a look at the bottom of the [plugin file](git-prompt.plugin.zsh)`
|
||||
to see what variables are available.
|
||||
|
||||
|
||||
**Enjoy!**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue