donnemartin/gitsome

Linux dotfiles, XDG Base Directory

Open

#13 创建于 2016年5月10日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (7,494 star) (476 fork)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

贡献者指南