From 95d742acc014fd4b127ea78bc4ec00fbc1056abc Mon Sep 17 00:00:00 2001 From: noctuid Date: Thu, 8 Mar 2018 16:25:21 -0500 Subject: [PATCH] Add -s support for kitty --- README.org | 1 + tdrop | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.org b/README.org index b190195..5e2fc18 100644 --- a/README.org +++ b/README.org @@ -159,6 +159,7 @@ These terminals have been tested with tdrop and support the =-s= and =-a= flags - st (-s does not work) - Alacritty - xiate +- [[https://github.com/kovidgoyal/kitty][kitty]] If your terminal doesn't work with tdrop, feel free to make an issue. Please follow the steps in the [[#troubleshooting][Troubleshooting]] section. diff --git a/tdrop b/tdrop index 1d644e9..4927ba1 100755 --- a/tdrop +++ b/tdrop @@ -568,6 +568,8 @@ program_start() { tmux new-session -s $session_name'" if [[ $program =~ ^(urxvt|alacritty|xiatec$) ]]; then program_command="$program_command -e bash -c $tmux_command" + elif [[ $program == kitty ]]; then + program_command="$program_command bash -c $tmux_command" else program_command="$program_command -e \"bash -c $tmux_command\"" fi