mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Nope. That one didn't work in empty repos. Oh well.
This commit is contained in:
parent
dd3d58ac5e
commit
e3d4545f74
@ -730,7 +730,7 @@ function __bobthefish_prompt_git -S -a current_dir -d 'Display the actual git st
|
||||
end
|
||||
end
|
||||
|
||||
set -l staged (command git diff-index --cached --no-ext-diff --quiet --exit-code HEAD ^/dev/null; or echo -n "$__bobthefish_git_staged_glyph")
|
||||
set -l staged (command git diff --cached --no-ext-diff --quiet --exit-code ^/dev/null; or echo -n "$__bobthefish_git_staged_glyph")
|
||||
set -l stashed (command git rev-parse --verify --quiet refs/stash >/dev/null; and echo -n "$__bobthefish_git_stashed_glyph")
|
||||
set -l ahead (__bobthefish_git_ahead)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user