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

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
2  
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
up vote 1 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

You must log in to answer this question.

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