chore(tmux): switch to gum based sesh filter

This commit is contained in:
2025-12-29 10:53:56 +02:00
parent 2979cc6cfc
commit bd5eff8bce
3 changed files with 23 additions and 12 deletions

18
config/tmux/sesh-gum.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Get session list and pipe it to gum for selection
SESH_LIST=$(
sesh list -i \
| gum filter \
--limit 1 \
--no-sort \
--fuzzy \
--placeholder 'Pick a sesh' \
--height 50 \
--prompt='⚡'
)
# If a session was selected, connect to it
if [ "$SESH_LIST" != "" ]; then
sesh connect "$SESH_LIST"
fi