-
Notifications
You must be signed in to change notification settings - Fork 437
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
Linux dotfiles, XDG Base Directory #13
Comments
This would tidy things up, thanks for the suggestion! |
Unfortunately, #90 solves this issue incorrectly. Among other things, if the user doesn't have The correct approach would define a configuration search path for each configuration
The technically appropriate places on Windows and OS X are, respectively, One thing I do believe (and is reflected in the above pathing suggestions) is that, rather than having multiple dotfiles in the user's home directory, they should be grouped in a dotdir, i.e. Also, I am of the opinion that if I'd be happy to implement all of this if ya'll are interested. |
It would be a good practice if you put all dot files from
gitsome
in appropriate directory based on the XDG Base Directory specification. Same goes for other operating systems, but unfortunately I'm not familiar what exactly is the best practice there.As for Linux:
$XDG_CONFIG_HOME
, which defaults~/.config/
directory$XDG_CACHE_HOME
, which defaults~/.cache/
directory$XDG_DATA_HOME
, which defaults to~/.local/share/
directoryThe text was updated successfully, but these errors were encountered: