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

6 lines
146 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-07-11 21:57:12 +03:00
prompt.add $color_user $USER@$hostname
2023-06-19 14:19:03 +03:00
end
end