6 lines
197 B
Bash
Executable File
6 lines
197 B
Bash
Executable File
#!/bin/sh
|
|
|
|
tmux list-sessions -F '#S' \
|
|
| awk 'BEGIN {ORS=" "; print "toggle t \"switch-client -l\""} {print $1, NR, "\"switch-client -t", $1 "\""}' \
|
|
| xargs tmux display-menu -T "Switch session"
|