mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 06:41:14 -03:00
git prompt: actually show staged token
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user