[scripts] fix: tsession

dev
David JULIEN 10 months ago
parent e8dfccb5d8
commit e842d326da
  1. 2
      .local/bin/tsession

@ -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

Loading…
Cancel
Save