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
|
|
@ -81,7 +81,7 @@ for st in status:
|
|||
staged.append(st)
|
||||
|
||||
stashed = get_stash()
|
||||
if not changed and not staged and not conflicts and not untracked and not stashed:
|
||||
if not changed and not staged and not conflicts and not untracked:
|
||||
clean = 1
|
||||
else:
|
||||
clean = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue