configfiles/scripts/tmuxn.sh

5 lines
100 B
Bash
Executable file

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