title: Zsh new terminal tab opens in Home folder instead of CWD if foreground process
body: <p>I just started using <code>zsh</code> and I have the <code>terminalapp</code> and <code>git</code> plugins so that new terminal tabs open in the current working directory. However, if a process is running in the foreground (a server, vim, etc), new tabs open in the home directory. </p>
  
  <p>How can I change this behavior?</p>
  
  <p>I'm using Terminal.app on OSX Mavercks. </p>