mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-21 11:01:51 +03:00
19 lines
423 B
Fish
19 lines
423 B
Fish
function fake_prompt
|
|
set -g _tide_last_pipestatus $pipestatus
|
|
set -g _tide_last_status $status
|
|
|
|
if test "$fake_tide_newline" = 'true'
|
|
printf '%b' '\n'
|
|
end
|
|
|
|
set_color $fake_tide_prompt_connection_color
|
|
printf "%.s$fake_tide_prompt_connection_icon" (seq $fake_columns)
|
|
set_color normal
|
|
|
|
printf '%b' '\r'
|
|
_fake_tide_right_prompt
|
|
|
|
printf '%b' '\r'
|
|
_fake_tide_left_prompt
|
|
end
|