tide/functions/_tide_item_git_prompt.fish
2020-05-20 10:05:33 -07:00

9 lines
252 B
Fish

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