diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-02 15:03:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-02 15:03:59 -0800 |
commit | 0bed0ab5a308f5e72a01fa9bee76488556288862 (patch) | |
tree | 42b2e302ba259116557934166ca360e3e18bcccc /src/Text/Pandoc/Lua/Util.hs | |
parent | a99423b59c78a1f64debad7340c5bbc0259e1215 (diff) | |
download | pandoc-0bed0ab5a308f5e72a01fa9bee76488556288862.tar.gz |
Use XDG data directory for user data directory.
Instead of `$HOME/.pandoc`, the default user data directory is
now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to
`$HOME/.local/share` but can be overridden by setting the environment
variable.
If this directory is missing, then `$HOME/.pandoc` is searched
instead, for backwards compatibility. However, we recommend
moving local pandoc data files from `$HOME/.pandoc` to
`$HOME/.local/share/pandoc`.
On Windows the default user data directory remains the same.
Closes #3582.
Diffstat (limited to 'src/Text/Pandoc/Lua/Util.hs')
0 files changed, 0 insertions, 0 deletions