Split plane horizontally or vertically loses directory context
Bug report
Unable to get the new horizontal or vertical split pane to retain the same directory context as the existing session.
Have updated both per profile settings and the global settings
- General->Profiles->[Profile name]->Working Directory->Advanced Configuration->Edit->Working directory for new Split panes->Reuse previous session's directory
and also
- General->Profiles->Working Directory->Advanced Configuration->Edit->Working directory for new Split panes->Reuse previous session's directory
- iTerm2 version: Build 3.4.16
- OS version: macOS Monterey, Version 12.4
- plist file com.googlecode.iterm2.plist
Detailed steps to reproduce the problem
- Using ssh to login to a remote Linux server using the pre-defined profile
- Run
tmux -CC attach
to connect to an already existing session - Right click and open Split Pane Vertically/Horizontally, always opens the new pane in the default user home directory
What happened
A new pane opened with current directory set to the root directory
What should have happened
A new pane with the same directory context as the current window should have been opened
Edited by Inian