2024-07-30 09:58:43 +02:00
|
|
|
#!/bin/bash
|
2024-09-13 18:24:48 +02:00
|
|
|
## 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
|