I host several domains on one server.
I would like to be able to change the displayed hostname in my bash prompt to indicate which one I picked when ssh'ing into the server.
My prompt is as follows:
\u@\h
This displays as:
user@hostname
How would I change the \h
to show which domain I had logged-into (blah.net, hmm.com, etc)?