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

6 lines
140 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-06-19 14:19:03 +03:00
prompt.add black $USER@$hostname
end
end