nfultz

joined 5 years ago
[–] [email protected] 4 points 10 months ago

Check for the ssh env vars. For example, I use PS1="${SSH_CONNECTION:+\u@\h:}\W\$" to hide the hostname when not on SSH, you could do something similar with the control codes for color.

[–] [email protected] 1 points 1 year ago