configfiles/scripts/.config/scripts/tmuxn.sh
2015-10-08 10:31:53 +02:00

5 lines
100 B
Bash
Executable file

#!/bin/bash
_trap_exit() { tmux kill-session -t $$; }
trap _trap_exit EXIT
tmux new-session -s $$;