diff --git a/layers/zsh.nix b/layers/zsh.nix index 136acd6f6b4414e2708aef92562ea18587d16ff5..21e78a9da69ba8f7d738d114c6aa1a656ad9f81e 100644 --- a/layers/zsh.nix +++ b/layers/zsh.nix @@ -51,6 +51,9 @@ in copy = "xclip -selection c -i"; paste = "xclip -selection c -o"; + # Start tmux in a transient scope (a PAM session would be better but this works) + tmux-new = "systemd-run --scope --user tmux"; + msub = "mosquitto_sub"; mpub = "mosquitto_pub";