Added ts script, to list and attach to tmux sessions

This commit is contained in:
2023-09-27 10:45:30 -04:00
parent 1d08232c52
commit 2de739ec68

4
scripts/scripts/ts Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
session=$(tmux list-sessions -F \#S | gum filter --placeholder "Pick a session...")
tmux swift-client -t "$session" || tmux attach -t "$session"