unison icon indicating copy to clipboard operation
unison copied to clipboard

Honor XDG Base Directory Specification

Open rigtorp opened this issue 5 years ago • 2 comments

Unison should honor the XDG Base Directory Specification when running on Linux (and probably any posix platform).

Specifically profiles should be stored in $XDG_CONFIG_DIR/unison/* and archives in $XDG_DATA_DIR/unison/*.

For backwards compatibility unison could search old and new location for files, but create new files in the new location.

rigtorp avatar Jun 25 '19 03:06 rigtorp

This sounds like a good idea. Happy to consider a PR...

bcpierce00 avatar Jun 25 '19 03:06 bcpierce00

There is a package which should help. Unfortunately I don't know ocaml (im a haskell person), still maybe (if I find the time) I will file a pr at some point in the future.

xaverdh avatar Aug 16 '20 10:08 xaverdh