Created
March 20, 2024 22:56
-
-
Save Thomashrb/d832a40cb64177dacc1dc9866a057134 to your computer and use it in GitHub Desktop.
select tmux session and kill it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for s in \$(tmux list-sessions | awk '{print \$1}' | rg ':' -r '' | fzy); do tmux kill-session -t \$s; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment