photon icon indicating copy to clipboard operation
photon copied to clipboard

Display hostname in shell prompt

Open ericgray opened this issue 11 years ago • 1 comments

Currently the bash prompt is configured to display the current username and path, colored red if root, green if not.

It would be very convenient to have the hostname also included in the prompt. Please consider updating the PS1 variable to include something along the lines of \u@\h in /etc/profile.

ericgray avatar May 21 '15 20:05 ericgray

Fixed in #e76e30a.

toliaqat avatar Jun 12 '15 07:06 toliaqat