mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +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
|
else
|
||||||
set staged $___fish_git_prompt_char_invalidstate
|
set staged $___fish_git_prompt_char_invalidstate
|
||||||
end
|
end
|
||||||
|
echo $staged
|
||||||
end
|
end
|
||||||
|
|
||||||
function __fish_git_prompt_dirty --description "__fish_git_prompt helper, tells whether or not the current branch has tracked, modified files"
|
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