diff --git a/fish_prompt.fish b/fish_prompt.fish index 1499aa7..4d6cc7a 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -92,9 +92,11 @@ function fish_right_prompt end function fish_prompt - __slavic_color_echo $__slavic_color_blue "󰖟 " - __slavic_color_echo $__slavic_color_white (prompt_hostname) - printf " " + 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