dots/configs/fish/functions/_pure_prompt_git_branch.fish
2025-09-01 12:10:36 -04:00

6 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