Open split panes in the current directory in iTerm2

A config to tell iTerm to open split windows in the current directory

Are you tired to cd to your working directory when hitting
CMD and d ?

This little config will tell iTerm to open split windows in the current
directory and save you a lot of time.

  1. Go to Preferences
  2. Select the Profiles tab
  3. Select the General tab
  4. In the Working Directory section check the Advanced Configuration option and click the Edit… button
  5. In the Working Directory for New Split Panes check the Reuse previous session’s directory option

And voilà !