Bug 1291480 - Patch to allow for .tmux.conf to be located in $XDG_CONFIG_HOME
Patch to allow for .tmux.conf to be located in $XDG_CONFIG_HOME
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: tmux (Show other bugs)
23
All All
unspecified Severity low
: ---
: ---
Assigned To: Sven Lankes
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-14 17:47 EST by Adam Hunt
Modified: 2016-07-22 07:33 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-22 07:33:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Hunt 2015-12-14 17:47:58 EST
tmux does not include support for searching for its config file(s) anywhere other than ~/.tmux.conf. Support to search $XDG_CONFIG_HOME should be added. Upstream has opted not to support the XDG Base Directory Specification[1][2] instead telling users to symlink tmux.conf which effectively defeats part of the goal of the specification.

In the years since the introduction of the XDG specifications it has seen wide and increasing adoption across a variety of environments. I would argue that the community has reached a de facto consensus and that support for it should be adopted unless such support would badly break backward compatibility or potentially lead to serious security issues.

Further, adding support to tmux for searching $XDG_CONFIG_HOME in no way requires a user to follow the XDG spec; if anyone wishes to continue placing their config files in the root of their home directory, they are free to do so.

[1] https://github.com/tmux/tmux/issues/142
[2] http://thread.gmane.org/gmane.comp.terminal-emulators.tmux.user/6013

Note You need to log in before you can comment on or make changes to this bug.