donnemartin/gitsome

Linux dotfiles, XDG Base Directory

Open

#13 opened on 2016年5月10日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (7,494 stars) (476 forks)batch import
feature-requesthelp wanted

説明

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

コントリビューターガイド