1
0
Fork 0

fish: user color

This commit is contained in:
Von Random 2023-07-11 21:57:12 +03:00
parent b23d64e1e2
commit 62eb9aae7c
2 changed files with 2 additions and 1 deletions

View file

@ -8,5 +8,6 @@ else
end end
set color_fg brwhite set color_fg brwhite
set color_user 222222
set color_git_branch 3c3c3c set color_git_branch 3c3c3c
set color_git yellow blue red purple set color_git yellow blue red purple

View file

@ -1,5 +1,5 @@
function prompt.user function prompt.user
if test -n "$SSH_CONNECTION" || string match -qe root "$USER" if test -n "$SSH_CONNECTION" || string match -qe root "$USER"
prompt.add black $USER@$hostname prompt.add $color_user $USER@$hostname
end end
end end