mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
git prompt: actually show staged token
This commit is contained in:
parent
4b0c3ffc2f
commit
18e34902a5
@ -295,6 +295,7 @@ function __fish_git_prompt_staged --description "__fish_git_prompt helper, tells
|
||||
else
|
||||
set staged $___fish_git_prompt_char_invalidstate
|
||||
end
|
||||
echo $staged
|
||||
end
|
||||
|
||||
function __fish_git_prompt_dirty --description "__fish_git_prompt helper, tells whether or not the current branch has tracked, modified files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user