After creating a new tab, it does not re-use previous session dir the second time a new tab is created
- iTerm2 version: 3.1.beta.1
- OS version: macOS Sierra
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- Preferences > Profiles > General > Working Directory > Reuse previous session's directory - ENABLE
- cd some-dir
- create new iTerm2 tab -> cwd is
some-dir
- create new iTerm2 tab -> cwd is home instead of
some-dir
What happened:
Did not reuse previous session dir. Used home instead.
What should have happened:
Should have reused the dir from the selected tab.
Note:
If I run a command in the new tab, then when I create a new tab it will use the correct path.