[tmux] fix: tsession script

This commit is contained in:
David JULIEN 2021-11-20 19:09:19 +01:00
parent 2b4541d537
commit 0f6b2f0af0

View File

@ -4,6 +4,6 @@ session="$1"
cmd="$2"
tmux new -s $session -d
tmux send-keys -t $session "exec $cmd" C-m
tmux send-keys -t $session "$cmd && exit" C-m
tmux attach -t $session