Added script

This commit is contained in:
Phil 2022-12-16 18:44:50 +00:00
parent b2500eef1a
commit da57ae3fd4

7
tmux-session.sh Executable file
View File

@ -0,0 +1,7 @@
#!/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