hostname only in ssh

This commit is contained in:
Zynh Ludwig 2024-11-26 07:17:05 -08:00
parent 31a8bc976b
commit 04b78a0cbb

View file

@ -92,9 +92,11 @@ function fish_right_prompt
end end
function fish_prompt function fish_prompt
__slavic_color_echo $__slavic_color_blue "󰖟 " if test -n "$SSH_CLIENT"; or test -n "$SSH_TTY"
__slavic_color_echo $__slavic_color_white (prompt_hostname) __slavic_color_echo $__slavic_color_blue "󰖟 "
printf " " __slavic_color_echo $__slavic_color_white (prompt_hostname)
printf " "
end
__slavic_color_echo $__slavic_color_purple (prompt_pwd) __slavic_color_echo $__slavic_color_purple (prompt_pwd)
__slavic_git_status __slavic_git_status