Prettify your shell prompt

I’ve used the same shell prompt for ~10 years now. 10 years. The colors I use come from an old IRC friend’s bash configuration utility (I probably have the script source buried deep in some archives somewhere).

You’ll notice that the prompt tells you the current user’s username, the hostname of the machine, and the current folder.


If you’d like something similar, simply place the following line in the .bashrc file of your home directory.


Realize that it should all be a single line (I broke it here so that it would fit nicely and be a bit easier to read).