Tag: PS1

  • My updated shell prompt

    Updated and fixed 04/13: I had been missing escapes, so command scrollback would get screwed for long lines. Phil Windley asked, so here you are: this is the code in my .bashrc that causes my shell prompt to have different colors dependending on whether the previous command succeeded or failed. It also shows Git branch […]