-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tmux - move config to XDG compliant location #1558
Comments
XDG supports always gets a hourra from me. Go ahead and maybe add the change behind a stateVersion check. |
@peterhoeg the version on 20.09 is now 3.1c, what else is needed to add support for this? |
A patch for this could be: --- a/modules/programs/tmux.nix
+++ b/modules/programs/tmux.nix
@@ -335,10 +335,9 @@ in
};
})
- # config file ~/.tmux.conf
- { home.file.".tmux.conf".text = mkBefore tmuxConf; }
+ { xdg.configFile."tmux/tmux.conf".text = mkBefore tmuxConf; }
(mkIf (cfg.plugins != []) configPlugins)
- { home.file.".tmux.conf".text = mkAfter cfg.extraConfig; }
+ { xdg.configFile."tmux/tmux.conf".text = mkAfter cfg.extraConfig; }
])
);
} but I'd wait until 3.2 is released because it adds |
Now that tmux 3.2 has been released, maybe we can make some progess? |
Issue description
tmux 3.1b supports the hardcoded location
~/.config/tmux/tmux.conf
in addition to~/.tmux.conf
but the next version will honour$XDG_CONFIG_DIR
so let's start using that instead.I'll self-assign but if anyone else wants to, feel free.
@marsam @jorsn
The text was updated successfully, but these errors were encountered: