Tmux_Session_Opener/tmux-session.sh

8 lines
173 B
Bash
Raw Permalink Normal View History

2022-12-16 18:44:50 +00:00
#!/bin/bash
echo "Active tmux Sessions"
echo
tmux ls
echo 'Choose a Session to attach to ('$(tmux ls | cut -f1 -d":" | paste -sd " ,")'): '
read session
tmux a -t $session