From 2d479a6615a0b485401261aaa74bf3a2013ed085 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 8 Jun 2015 12:52:03 +0200 Subject: [PATCH] Tmux script mit auto kill :) --- scripts/tmuxn.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/tmuxn.sh diff --git a/scripts/tmuxn.sh b/scripts/tmuxn.sh new file mode 100755 index 0000000..1a32295 --- /dev/null +++ b/scripts/tmuxn.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +_trap_exit() { tmux kill-session -t $$; } +trap _trap_exit EXIT +tmux new-session -s $$;