FiloSottile / FiloSottile/passage

XDG Base Directory Compatibility

Open
#44 1 comment 14 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.2k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Would the project be amenable to being [XDG compatible](https://wiki.archlinux.org/title/XDG_Base_Directory) instead of defaulting to `~/.passage`? That is, first check to see if the `XDG_CONFIG_HOME` environment variable is defined, and if so, put `.passage/` under there. In the typical configuration, this would be `~/.config/passage`.

This simplifies my backups, as I can copy `~/.config/` without having to special case dot folders under $HOME.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.