From 7cd8ff60d8302451336abea67ec08f08220eb9cb Mon Sep 17 00:00:00 2001 From: Fox Kiester Date: Mon, 2 Oct 2023 20:25:46 -0400 Subject: [PATCH] Wezterm - Use --always-new-process for tmux integration Fixes an issue where different tdrop keybindings would incorrectly share the same wezterm even though they had different -n arguments. --- tdrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrop b/tdrop index 28c3f3b..cf7fa74 100755 --- a/tdrop +++ b/tdrop @@ -946,7 +946,7 @@ program_start() { elif [[ $program == kitty ]]; then program_command+=(bash -c "$tmux_command") elif [[ $program == wezterm || $class =~ ^(org\.wezfurlong\.)?wezterm$ ]]; then - program_command+=(start -- bash -c "$tmux_command") + program_command+=(start --always-new-process -- bash -c "$tmux_command") elif [[ $program == gnome-terminal ]]; then program_command+=(-- bash -c "$tmux_command") else