7 lines
79 B
Bash
7 lines
79 B
Bash
|
#!/bin/sh
|
||
|
if tmux has-session; then
|
||
|
exec tmux attach
|
||
|
else
|
||
|
exec tmux new
|
||
|
fi
|