karan / joe

:running: A .gitignore magician in your command line
http://karan.github.io/joe/
MIT License
2.88k stars 210 forks source link

[Linux] Use $XDG_DATA_HOME/joe instead of ~/.joe-data #84

Open chocolateboy opened 8 years ago

chocolateboy commented 8 years ago

According to the XDG Base Directory Specification, user-specific data files files should be stored in $XDG_DATA_HOME/joe, or $HOME/.local/share/joe if $XDG_DATA_HOME is not defined.

There is a single base directory relative to which user-specific data files should be written. This directory is defined by the environment variable $XDG_DATA_HOME.

This avoids cluttering the home directory and simplifies including/excluding related directories from bulk operations such as backups.

Links