fish: user color
This commit is contained in:
parent
b23d64e1e2
commit
62eb9aae7c
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue