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?

link|improve this question
1  
iTerm2 is a alpha release so I would ask on their forums or bug tracker – Mark Jan 22 '11 at 14:46
feedback

1 Answer

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

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.