more prominent user@host in remote shells

master
lowne 2 years ago
parent 32cb330056
commit c774c260d0

@ -197,16 +197,16 @@ function fish_prompt
segment $base_color " $dir"(set_color $text_color)"$base "
if test ! -z "$SSH_CLIENT"
set -l color bbb 222
set -l color ccf 504
if test 0 -eq (id -u "$USER")
set color red 222
set color black red
end
segment $color (host_info " usr@host ")
segment $color (host_info " user@host ")
else if test 0 -eq (id -u "$USER")
segment red 222 " \$ "
segment black red " \$ "
end
if test "$status_copy" -ne 0

Loading…
Cancel
Save