mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-20 02:21:48 +03:00
20 lines
456 B
Fish
20 lines
456 B
Fish
# Created by tide configure
|
|
function fish_prompt --description 'Write out the prompt'
|
|
set -g last_pipestatus $pipestatus
|
|
set -g last_status $status
|
|
|
|
if test "$tide_newline" = 'true'
|
|
printf '%b' '\n'
|
|
end
|
|
|
|
set_color $tide_prompt_connection_color
|
|
printf "%.s$tide_prompt_connection_icon" (seq $COLUMNS)
|
|
set_color $fish_color_normal
|
|
|
|
printf '%b' '\r'
|
|
tide_right_prompt
|
|
|
|
printf '%b' '\r'
|
|
tide_left_prompt
|
|
end
|