From ac0f811cabde96cc14c369e4d69d282795f14868 Mon Sep 17 00:00:00 2001 From: noctuid Date: Sun, 21 May 2017 22:42:40 +0900 Subject: [PATCH] Fix tmux handling for urxvtc Fixes #30. --- tdrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrop b/tdrop index 81b4745..1e5cefe 100755 --- a/tdrop +++ b/tdrop @@ -550,7 +550,7 @@ program_start() { tmux_command="'tmux attach-session -dt $session_name || \ tmuxinator start $session_name || \ tmux new-session -s $session_name'" - if [[ $program == urxvt ]]; then + if [[ $program =~ ^urxvt ]]; then program_command="$program_command -e bash -c $tmux_command" elif [[ $program == terminix ]]; then program_command="$program_command -x \"bash -c $tmux_command\""