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.

When I start a new zsh session it always seems to set its working directory to the last-known working directory of any other zsh session running on my system. Is there a way to configure zsh to just start at $HOME?

For example, sometimes I get into really slow directory shared over the network or something and I'd like to open a new shell and do something else, but I can't do anything else because my new session is too busy trying to set its working directory to that slow path on the network.

share|improve this question
1  
That's not the default behavior. What is in your ~/.zshrc? –  mpy Sep 17 '13 at 20:12
    
Are you running under tmux or screen? –  jjlin Sep 17 '13 at 20:43
    
tmux need more chars for valid comment –  mgalgs Sep 18 '13 at 0:54
    
Maybe it's oh-my-zsh... Let me do some experiments... –  mgalgs Sep 18 '13 at 0:54

1 Answer 1

up vote 0 down vote accepted

Doh! Turns out it was the last-working-dir plugin from oh-my-zsh. Removing that from my plugins array "fixed" it.

share|improve this answer

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.