mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
Added ts script, to list and attach to tmux sessions
This commit is contained in:
4
scripts/scripts/ts
Executable file
4
scripts/scripts/ts
Executable 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"
|
||||||
Reference in New Issue
Block a user