tide/functions/_lean_git_prompt.fish

9 lines
244 B
Fish
Raw Normal View History

function _lean_git_prompt
2020-05-17 20:14:03 +03:00
if set -l gitPrompt (fish_git_prompt)
2020-04-03 01:39:10 +03:00
2020-05-17 20:14:03 +03:00
set -l gitPrompt (string replace '(' '' $gitPrompt)
set -l gitPrompt (string replace ')' '' $gitPrompt)
2020-04-03 01:39:10 +03:00
2020-05-17 23:47:53 +03:00
printf (string trim $gitPrompt)' '
2020-05-17 20:14:03 +03:00
end
2020-04-03 01:39:10 +03:00
end