{"action":"created","issue":{"url":"https://api.github.com/repos/tmux/tmux/issues/142","repository_url":"https://api.github.com/repos/tmux/tmux","labels_url":"https://api.github.com/repos/tmux/tmux/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/tmux/tmux/issues/142/comments","events_url":"https://api.github.com/repos/tmux/tmux/issues/142/events","html_url":"https://github.com/tmux/tmux/issues/142","id":111595592,"number":142,"title":"Add support for the XDG Base Directory Specification","user":{"login":"SShrike","id":4061736,"avatar_url":"https://avatars.githubusercontent.com/u/4061736?v=3","gravatar_id":"","url":"https://api.github.com/users/SShrike","html_url":"https://github.com/SShrike","followers_url":"https://api.github.com/users/SShrike/followers","following_url":"https://api.github.com/users/SShrike/following{/other_user}","gists_url":"https://api.github.com/users/SShrike/gists{/gist_id}","starred_url":"https://api.github.com/users/SShrike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SShrike/subscriptions","organizations_url":"https://api.github.com/users/SShrike/orgs","repos_url":"https://api.github.com/users/SShrike/repos","events_url":"https://api.github.com/users/SShrike/events{/privacy}","received_events_url":"https://api.github.com/users/SShrike/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2015-10-15T11:15:28Z","updated_at":"2016-09-22T22:56:37Z","closed_at":"2015-10-15T11:18:02Z","body":"Configuration files should be stored under `$XDG_CONFIG_HOME` (which defaults to `~/.config`)\r\n\r\nFor example:\r\n`~/.tmux.conf` => `$XDG_CONFIG_HOME/tmux/tmux.conf` _or_ `$XDG_CONFIG_HOME/tmux/config.conf`\r\n\r\nThis [blog post](https://ploum.net/207-modify-your-application-to-use-xdg-folders/) lists the advantages of using the XDG Base Directory Specification as follows:\r\n- $HOME is a lot less cluttered.\r\n- Backups are a lot more safer and easier. (you know that backuping your $XDG_DATA_HOME along with your files is enough)\r\n- A lot easier to reset a default configuration if you want/need it (and without any risk of loosing information).\r\n- Avoid some strange bugs that happen because you had a old version of some configuration file.\r\n- It is a lot more flexible and portable because no paths are hard-coded. You can use the XDG library that does the job for you _or_, if you don’t want the dependency, implementing the XDG specification is only a few lines of code."},"comment":{"url":"https://api.github.com/repos/tmux/tmux/issues/comments/249051945","html_url":"https://github.com/tmux/tmux/issues/142#issuecomment-249051945","issue_url":"https://api.github.com/repos/tmux/tmux/issues/142","id":249051945,"user":{"login":"maletor","id":138785,"avatar_url":"https://avatars.githubusercontent.com/u/138785?v=3","gravatar_id":"","url":"https://api.github.com/users/maletor","html_url":"https://github.com/maletor","followers_url":"https://api.github.com/users/maletor/followers","following_url":"https://api.github.com/users/maletor/following{/other_user}","gists_url":"https://api.github.com/users/maletor/gists{/gist_id}","starred_url":"https://api.github.com/users/maletor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maletor/subscriptions","organizations_url":"https://api.github.com/users/maletor/orgs","repos_url":"https://api.github.com/users/maletor/repos","events_url":"https://api.github.com/users/maletor/events{/privacy}","received_events_url":"https://api.github.com/users/maletor/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T22:56:37Z","updated_at":"2016-09-22T22:56:37Z","body":"> Discussed before on the mailing list. The outcome: thanks, but no thanks. If you want this, symlink it.\r\n\r\nSo the mailing list conversation seems to be deleted or moved.\r\n\r\nRegardless, I think your attitude is a little short sighted. The [actual specification](https://specifications.freedesktop.org/basedir-spec/latest/ar01s02.html) makes a ton of sense and it's been around since 2003."}}
{"actor":{"display_login":"maletor"}}