revert 869f4c26fc
Some checks failed
lint, build and push / lint (push) Successful in 5s
lint, build and push / build (push) Has been cancelled

revert start-tmux: check if session is interactive
This commit is contained in:
Michael Grote 2024-09-13 18:34:45 +02:00
parent 869f4c26fc
commit 299104e654

View file

@ -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