ohanhi / fish-elm-completions

Elm related completions for the friendly interactive shell
BSD 3-Clause "New" or "Revised" License
21 stars 1 forks source link

Use XDG spec to choose cache dir for package list #2

Closed TSFoster closed 6 years ago

TSFoster commented 6 years ago

Fish uses the XDG Base Directory Specification in organising its files. I think that elm-packages.txt comes under "user-specific non-essential (cached) data", which is $XDG_CACHE_HOME, or ~/.cache by default. This PR stores elm-packages.txt in that directory.

ohanhi commented 6 years ago

Perfect, thank you!