My PS1: Confessions of a Bash Illiterate

Full-disclosure: I’ll never win a Bash Script of the Year Award. I occasionally write them, but my skills are pretty basic, so apologies if my attempt to build out a meaningful bash prompt offends your bash sensibilities. Comments are semi-welcomed.

“To truly know a man, first you must know his prompt.”

I’m always intrigued when I see a fellow developer’s terminal prompt, as if I’m peering into his or her nerd soul. If you spend a lot of time in front of a terminal, it’s worthwhile to customize your prompt. Yet I often see people who stick with the system default.