mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
funny fish
This commit is contained in:
6
.config/fish/functions/_pure_prompt_git_branch.fish
Normal file
6
.config/fish/functions/_pure_prompt_git_branch.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user