From 62eb9aae7cd01dc24d0ceaa0eae954f7923dda53 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 11 Jul 2023 21:57:12 +0300 Subject: [PATCH] fish: user color --- cli/.config/fish/conf.d/prompt.fish | 1 + cli/.config/fish/functions/prompt.user.fish | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/.config/fish/conf.d/prompt.fish b/cli/.config/fish/conf.d/prompt.fish index 8f82b8b..a6b7836 100644 --- a/cli/.config/fish/conf.d/prompt.fish +++ b/cli/.config/fish/conf.d/prompt.fish @@ -8,5 +8,6 @@ else end set color_fg brwhite +set color_user 222222 set color_git_branch 3c3c3c set color_git yellow blue red purple diff --git a/cli/.config/fish/functions/prompt.user.fish b/cli/.config/fish/functions/prompt.user.fish index 1bc2cc3..cd0ae8f 100644 --- a/cli/.config/fish/functions/prompt.user.fish +++ b/cli/.config/fish/functions/prompt.user.fish @@ -1,5 +1,5 @@ function prompt.user if test -n "$SSH_CONNECTION" || string match -qe root "$USER" - prompt.add black $USER@$hostname + prompt.add $color_user $USER@$hostname end end