From 299104e6546bcbc7e49167163cb596d2ffd3b955 Mon Sep 17 00:00:00 2001 From: mg Date: Fri, 13 Sep 2024 18:34:45 +0200 Subject: [PATCH] revert 869f4c26fc74dfcd02a16c7249e580f3855eb911 revert start-tmux: check if session is interactive --- start_tmux.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/start_tmux.sh b/start_tmux.sh index 74689a9..eabaf1b 100755 --- a/start_tmux.sh +++ b/start_tmux.sh @@ -1,6 +1,3 @@ #!/bin/bash -## check interactive shell https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch -if [[ $- == *i* ]] ; then - tmux new-session -s ansible-devspace -d - tmux attach -t ansible-devspace -fi +tmux new-session -s ansible-devspace -d +tmux attach -t ansible-devspace