tide/functions/_tide_git_prompt.fish
2020-05-18 20:03:25 -07:00

9 lines
247 B
Fish

function _tide_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