tide/tide_theme/configure/fish_prompt.fish

16 lines
431 B
Fish
Raw Normal View History

2020-05-19 06:03:25 +03:00
# Created by tide configure
function fish_prompt --description 'Write out the prompt'
2020-06-06 21:57:43 +03:00
set -g _tide_last_pipestatus $pipestatus
set -g _tide_last_status $status
2020-05-19 06:03:25 +03:00
if test "$tide_newline" = 'true'
2020-05-18 20:06:02 +03:00
printf '%b' '\n'
2020-05-15 07:53:37 +03:00
end
2020-05-19 06:03:25 +03:00
set_color $tide_prompt_connection_color
string repeat --count $COLUMNS --no-newline $tide_prompt_connection_icon
2020-05-18 20:06:02 +03:00
printf '%b' '\r'
2020-04-25 22:21:09 +03:00
2020-06-21 02:42:47 +03:00
_tide_right_prompt
2020-05-20 20:05:33 +03:00
_tide_left_prompt
2020-06-21 02:42:47 +03:00
end