Skip to content

Commit 7d77e8a

Browse files
authored
Merge pull request #1897 from fredericrous/patch-1
Document XDG_CONFIG_HOME support on mac
2 parents 523cfdf + b63d4b6 commit 7d77e8a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,16 +225,17 @@ configuration directory.
225225

226226
- **Linux**
227227

228-
- Looks for `keys.txt` in `$XDG_CONFIG_HOME/sops/age/keys.txt`;
229-
- Falls back to `$HOME/.config/sops/age/keys.txt` if `$XDG_CONFIG_HOME` isn’t set.
228+
- Looks for ``keys.txt`` in ``$XDG_CONFIG_HOME/sops/age/keys.txt``;
229+
- Falls back to ``$HOME/.config/sops/age/keys.txt`` if ``$XDG_CONFIG_HOME`` isn’t set.
230230

231231
- **macOS**
232232

233-
- Looks for `keys.txt` in `$HOME/Library/Application Support/sops/age/keys.txt`.
233+
- Looks for ``keys.txt`` in ``$XDG_CONFIG_HOME/sops/age/keys.txt``;
234+
- Falls back to ``$HOME/Library/Application Support/sops/age/keys.txt``.
234235

235236
- **Windows**
236237

237-
- Looks for `keys.txt` in `%AppData%\\sops\\age\\keys.txt`.
238+
- Looks for ``keys.txt`` in `%AppData%\\sops\\age\\keys.txt``.
238239

239240
You can override the default lookup by:
240241

0 commit comments

Comments
 (0)