How can I get a
$PS1 like the one in this screenshot?
I am running bash, if it makes a difference.
Write this to a file using your editor, then source the file into your bash session with
The other, older way to do it is to use VT100 escape codes to switch to the terminal's line-drawing character set. In this case, your PS1 line looks like this:
You can build a complete list by running things like
Here's a very nice sampling of different PS1:
The one you want is this:
You will have to change it a bit, but the elements are there. I suggest you take a look here for more info: