diff --git a/bash/tmux_launcher.bash b/bash/tmux_launcher.bash index 15e43ff..30459a2 100644 --- a/bash/tmux_launcher.bash +++ b/bash/tmux_launcher.bash @@ -10,3 +10,9 @@ tmux attach -t sessionname # jump into the acti tmux send-keys -t sessionname:0.0 'q' 'C-m' # tell 'top' in top pane to quit (C-m probably not needed here...) tmux kill-session -t sessionname # close tmux session + +# NOTE: need the following at the end of 'script.bs' to make it drop out, first two lines are optional but a good way to hold +# the session open until user is ready to close it, last line is the kick back to this higher level tmux wrapper. +# echo "Press any key to close the window." +# read -s -n1 +# tmux detach