Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
iTerm2 is a alpha release so I would ask on their forums or bug tracker –  Mark Jan 22 '11 at 14:46
add comment

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

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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