Fix handling of XDG_CONFIG_HOME (#347)

This commit is contained in:
Christoph Loy
2024-01-11 19:01:59 +01:00
committed by GitHub
parent 046c79fd15
commit ce9140fa1e
3 changed files with 58 additions and 19 deletions

View File

@@ -2,10 +2,11 @@
## Path
By default autorestic searches for a `.autorestic.yml` file in the current directory and your home folder.
By default autorestic searches for a `.autorestic.yml` file in the current directory, your home folder and your XDG config folder (`~/.config/` by default):
- `./.autorestic.yml`
- `~/.autorestic.yml`
- `~/.config/autorestic/.autorestic.yml`
You can also specify a custom file with the `-c path/to/some/config.yml`