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

6 lines
136 B
Fish
Raw Normal View History

2023-06-19 14:19:03 +03:00
function prompt.user
if test -n "$SSH_CLIENT" || string match -qe root "$USER"
prompt.add black $USER@$hostname
end
end