From c774c260d011561c544e21f81bc2dfc17d608b57 Mon Sep 17 00:00:00 2001 From: lowne Date: Wed, 23 Feb 2022 23:48:25 +0100 Subject: [PATCH] more prominent user@host in remote shells --- functions/fish_prompt.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 34c2e6d..2e9080d 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -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