Don't specify %age in window-auto for 50% split

This commit is contained in:
Kenneth Benzie 2024-06-19 18:38:16 +01:00
parent 71f3ff3659
commit 360f5d0115

View File

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