Fix window-auto session to use current pane directory

This commit is contained in:
Kenneth Benzie 2024-04-12 23:39:45 +01:00
parent cc475b4400
commit 85c11bc57c

View File

@ -18,7 +18,7 @@ if [[ $ratio -ge 100 ]]; then
`dirname $0`/window-wide-right
else
# terminal is wide and small
tmux split-window -h -l 50%
tmux split-window -h -l 50% -c '#{pane_current_path}'
fi
else
# terminal is tall