Improved Terminal hotnessJanuary 13, 2013
A few months ago (!) I wrote about customizing your Terminal prompt. It would seem I had a bug in there that caused some awful wrapping in Terminal, but fret not, there is a solution. Matt Wright was kind enough to hit me up with a fix, so here are the new goods with instructions on how to update.
As you recall, here’s what we’re going for with our new Terminal prompt:
To get us there, open
~/.bash_profile. If you already have a modified prompt, replace the existing similar line with this new snippet. If you don’t have one yet, just add the following snippet:
Save and restart Terminal. Enjoy!