tide/tide_theme/configure/fish_prompt.fish
2020-06-06 11:57:43 -07:00

20 lines
475 B
Fish

# Created by tide configure
function fish_prompt --description 'Write out the prompt'
set -g _tide_last_pipestatus $pipestatus
set -g _tide_last_status $status
if test "$tide_newline" = 'true'
printf '%b' '\n'
end
set_color $tide_prompt_connection_color
string repeat --count $COLUMNS --no-newline $tide_prompt_connection_icon
set_color normal
printf '%b' '\r'
_tide_right_prompt
printf '%b' '\r'
_tide_left_prompt
end