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
function fish_prompt
if test -n "$SSH_CLIENT"; or test -n "$SSH_TTY"
__slavic_color_echo $__slavic_color_blue "󰖟 "
__slavic_color_echo $__slavic_color_white (prompt_hostname)
printf " "
end
__slavic_color_echo $__slavic_color_purple (prompt_pwd)
__slavic_git_status