donnemartin/gitsome

Linux dotfiles, XDG Base Directory

Open

#13 aperta il 10 mag 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (476 fork)batch import
feature-requesthelp wanted

Metriche repository

Star
 (7494 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor