Blob bin/t
|
1 2 3 4 5 6 7 8 9 |
#!/bin/sh
SESSION=${1-scratch}
if tmux has-session -t $SESSION; then
exec tmux attach -t $SESSION
else
exec tmux new-session -s $SESSION
fi
|
|
1 2 3 4 5 6 7 8 9 |
#!/bin/sh
SESSION=${1-scratch}
if tmux has-session -t $SESSION; then
exec tmux attach -t $SESSION
else
exec tmux new-session -s $SESSION
fi
|