summaryrefslogtreecommitdiff
path: root/tmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions
diff options
context:
space:
mode:
Diffstat (limited to 'tmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions')
-rwxr-xr-xtmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions b/tmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions
new file mode 100755
index 0000000..7e6a8db
--- /dev/null
+++ b/tmuxsh/_tmux_kill_server,--.close.the.server.and.clients.and.destroy.all.sessions
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+tmux confirm-before -p "kill the tmux server, clients and destroy all sessions? (y/n)" kill-server