Standard Dirs is an Emacs library to provide platform-specific paths for reading and writing configuration, cache, and other data. Currently only Linux and macOS are supported.
- On Linux, the directory paths conform to the XDG base directory and XDG user directory specifications as published by the freedesktop.org project.
- On macOS, the directory paths conform to Apple’s filesystem documentation “Where to Put Files”.
Standard Dirs is available on MELPA as standard-dirs. To install:
- Setup MELPA as a package source.
M-x
package-install[RET]
- standard-dirs
[RET]
Standard Dirs available in mainline Guix as emacs-standard-dirs.
To install in the current profile, run guix install emacs-standard-dirs
.
Copyright © 2018 Joseph M LaFreniere.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The full license text is available at LICENSE.