From 85c11bc57cccd03be2ed75730e3dfa98ba7cb29f Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 12 Apr 2024 23:39:45 +0100 Subject: [PATCH] Fix window-auto session to use current pane directory --- layouts/window-auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/window-auto b/layouts/window-auto index da45c38..bff576f 100755 --- a/layouts/window-auto +++ b/layouts/window-auto @@ -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