1
0
Fork 0
vdotfiles/cli/.config/fish/functions/prompt.user.fish

6 lines
142 B
Fish
Raw Normal View History

2023-06-19 14:19:03 +03:00
function prompt.user
2023-06-19 18:34:20 +03:00
if test -n "$SSH_CONNECTION" || string match -qe root "$USER"
2023-08-22 02:21:49 +03:00
prompt.add $USER@$hostname brblack
2023-06-19 14:19:03 +03:00
end
end