parent
869f4c26fc
commit
299104e654
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue