tide/functions/_lean_git_prompt.fish
2020-05-18 10:06:02 -07:00

9 lines
247 B
Fish

function _lean_git_prompt
if set -l gitPrompt (fish_git_prompt)
set -l gitPrompt (string replace '(' '' $gitPrompt)
set -l gitPrompt (string replace ')' '' $gitPrompt)
printf '%s ' (string trim $gitPrompt)
end
end