tmux: Enable detach-on-destroy for scratch sessions
This commit is contained in:
@@ -4,7 +4,7 @@ blacklist = ["scratch-*"]
|
|||||||
# Scratch sessions rename themselves to something unique and are hidden from the overview
|
# Scratch sessions rename themselves to something unique and are hidden from the overview
|
||||||
[[session]]
|
[[session]]
|
||||||
name = "scratch"
|
name = "scratch"
|
||||||
startup_command = "tmux rename-session scratch-$(echo -n $(date) | sha256sum | cut -c1-4) && clear"
|
startup_command = "tmux rename-session scratch-$(echo -n $(date) | sha256sum | cut -c1-4) && tmux set detach-on-destroy on && clear"
|
||||||
|
|
||||||
[[session]]
|
[[session]]
|
||||||
name = "automation_rs"
|
name = "automation_rs"
|
||||||
|
|||||||
Reference in New Issue
Block a user