Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a simple bookmark just to cd to a folder. I add a bookmark, select login shell and my desired directory. When I use that bookmark my status gets changed from host:folder user$ to bash-3.2$ which is annoying. Why does this happen?

share|improve this question
iTerm2 is a alpha release so I would ask on their forums or bug tracker – Mark Jan 22 '11 at 14:46
up vote 0 down vote accepted

Two possible solutions:

  1. Set your bookmark's command to:

    login -fpl USERNAME /bin/bash --login

(replace USERNAME with your username)

  1. Put this in your ~/.bashrc:

    source /etc/profile

share|improve this answer
Great! Thank you! – Mirko Jan 24 '11 at 11:59
This is what I've put in my ~/.bashrc: source /etc/profile; source ~/.profile – Mirko Jan 24 '11 at 12:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .