Files
dots/.config/fish/functions/_pure_prompt_git_branch.fish
2025-03-28 13:34:53 +01:00

7 lines
225 B
Fish

function _pure_prompt_git_branch
set --local git_branch (_pure_parse_git_branch) # current git branch
set --local git_branch_color (_pure_set_color $pure_color_git_branch)
echo "$git_branch_color$git_branch"
end