config/fish/functions/fish_right_prompt.fish

9 lines
250 B
Fish

function fish_right_prompt --description 'Write out the right prompt'
# If we're running via SSH, display the hostname
if set -q SSH_TTY
set_color $fish_color_host_remote
echo -n $hostname
set_color normal
end
end