Description
split-window -c "#{pane_current_path}" does not open the new pane in the current pane's working directory. The #{pane_current_path} format variable appears to not be resolved, so the new pane falls back to the default directory.
Steps to reproduce
- Add to config:
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
cd to a non-default directory (e.g., cd ~/projects)
- Split the pane with
prefix + " or prefix + %
Expected behavior
New pane opens in the same directory as the current pane (e.g., ~/projects).
Actual behavior
New pane opens in the default directory instead.
Environment
- psmux (built from master branch)
- Windows 11
- Git Bash shell
Description
split-window -c "#{pane_current_path}"does not open the new pane in the current pane's working directory. The#{pane_current_path}format variable appears to not be resolved, so the new pane falls back to the default directory.Steps to reproduce
cdto a non-default directory (e.g.,cd ~/projects)prefix + "orprefix + %Expected behavior
New pane opens in the same directory as the current pane (e.g.,
~/projects).Actual behavior
New pane opens in the default directory instead.
Environment