donnemartin/gitsome

Linux dotfiles, XDG Base Directory

Open

#13 opened on May 10, 2016

 (2 comments) (0 reactions) (0 assignees)Python (443 forks)batch import
feature-requesthelp wanted

Repository metrics

Stars
 (7,684 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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:

  • configuration files go to $XDG_CONFIG_HOME, which defaults ~/.config/ directory
  • cache files go to $XDG_CACHE_HOME, which defaults ~/.cache/ directory
  • any other files go to $XDG_DATA_HOME, which defaults to ~/.local/share/ directory

Contributor guide