Yes, I know it is not the most exciting thing in the world, but the simplest things are often the most meaningful, and for those of us who grew up before windows, or for those n00bs who are brave enough to dare travel the land of the command line, here’s a tip for you.  (That was all in one sentence… and it felt good)

You can customize your prompt in order to make it more effective.  My default prompt was about half a line long and didn’t really contain much useful information to me, so I changed it, including added a little color. Me? I like to see the time and my current directory, so that’s what I added using the instructions here, and even fancier color management instructions here. Simply put, I edited my .bashrc file’s prompt entry to the following. If you haven’t done this kind of edit before, first make a backup copy file.

PS1="\e[0;35m[\t]\e[m\w$ "


Ok, the above line looks pretty, but the text wrapping gets funked up. You have to put escaped opening and closing square brackets around the color code chunks.  The following revised line works great.

PS1="\[\e[0;35m\][\t]\[\e[m\]\w$ "

And here’s the before and after.

Ahhh…   almost zen.