Skip to main content
1 of 3
Eric
  • 420
  • 1
  • 9
  • 21

My iTerm spits out text every time I start a new session - why, and how to stop it?

Whenever I start a new session with iTerm, it sends sudo su and PS1="[web stage | \d \t \w]:" to the terminal window. I'm think this is something that someone set up for me in iTerm a long time ago. It's very irritating and I want it to stop. :-)

I looked all over the settings/prefs in iTerm and can't find any sign of what could be doing it, nor the string sudo su or PS1= anywhere. (And yes, Profiles > Command > Send Text at Start is empty-- that was my first thought but nothing there.)

I am 99% sure this is something from iTerm and not bash because when I launch the Terminal app, I don't get this behavior.

Where would this be stored and how can I stop it?

Eric
  • 420
  • 1
  • 9
  • 21