1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Kill All Your tmux Sessions as a tmux til

This commit is contained in:
jbranchaud
2019-05-08 18:23:44 -05:00
parent 39efb39bbb
commit 4e8b1d41a9
2 changed files with 14 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_807 TILs and counting..._
_808 TILs and counting..._
---
@@ -682,6 +682,7 @@ _807 TILs and counting..._
- [Enabling Vi Mode](tmux/enabling-vi-mode.md)
- [Hiding The Status Bar](tmux/hiding-the-status-bar.md)
- [Jumping Between Sessions](tmux/jumping-between-sessions.md)
- [Kill All Your tmux Sessions](tmux/kill-all-your-tmux-sessions.md)
- [Kill Other Connections To A Session](tmux/kill-other-connections-to-a-session.md)
- [Kill The Current Session](tmux/kill-the-current-session.md)
- [List All Key Bindings](tmux/list-all-key-bindings.md)

View File

@@ -0,0 +1,12 @@
# Kill All Your tmux Sessions
If you have several tmux sessions running and you'd like to clean house, you
can kill all of those sessions with one command.
```bash
$ tmux kill-session -a
```
The `-a` flag says to target all sessions.
You can also run this as a tmux command.