_pure_prompt_git_branch.fish 225 B

123456
  1. function _pure_prompt_git_branch
  2. set --local git_branch (_pure_parse_git_branch) # current git branch
  3. set --local git_branch_color (_pure_set_color $pure_color_git_branch)
  4. echo "$git_branch_color$git_branch"
  5. end