Skip to content

Commit

Permalink
Wezterm - Use --always-new-process for tmux integration
Browse files Browse the repository at this point in the history
Fixes an issue where different tdrop keybindings would incorrectly share the
same wezterm even though they had different -n arguments.
  • Loading branch information
noctuid committed Oct 3, 2023
1 parent 4da819d commit 7cd8ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdrop
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cd8ff6

Please sign in to comment.