Tuesday, July 19, 2011

Changing the bash prompt mac

My bash prompt looked long and clumsy. So I wanted it short.

FIrst I opened the bash profile


nano .bash_profile
Then I added:
export PS1="My-Mac2:"
Write out, and voila!

No comments: