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