Tmux script mit auto kill :)
This commit is contained in:
parent
54cd343498
commit
2d479a6615
1 changed files with 5 additions and 0 deletions
5
scripts/tmuxn.sh
Executable file
5
scripts/tmuxn.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
_trap_exit() { tmux kill-session -t $$; }
|
||||
trap _trap_exit EXIT
|
||||
tmux new-session -s $$;
|
Loading…
Reference in a new issue