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

5 lines
136 B
Fish

function prompt.user
if test -n "$SSH_CLIENT" || string match -qe root "$USER"
prompt.add black $USER@$hostname
end
end