diff options
| author | Bernardo Meurer Costa <beme@anthropic.com> | 2025-12-06 06:06:27 +0000 |
|---|---|---|
| committer | Bernardo Meurer Costa <beme@anthropic.com> | 2025-12-06 07:02:22 +0000 |
| commit | b3b1a85370516b5cdf386a2f90a85f852e0ce3bb (patch) | |
| tree | 8cc20e6306fa8b41f6682250f30c3c419cedb301 /pkgs/development/python-modules/python-openstackclient | |
| parent | 765cd61a3ed4ae63e21ad80d5cd082de34ee67e8 (diff) | |
nixos/tmux: use idempotent new-session to avoid duplicate sessions
When both NixOS programs.tmux and home-manager tmux configs set
newSession = true, tmux would create two sessions on startup since
both /etc/tmux.conf and ~/.config/tmux/tmux.conf contain the
new-session command.
Change new-session to new-session -A -s 0, which attaches to session
"0" if it exists, otherwise creates it. This makes the command
idempotent so multiple configs can safely enable newSession.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
