dotfiles/fish/functions/_pure_prompt_git_branch.fish

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