6 lines
225 B
Fish
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
|