From 9bd77292ff47f500b9f3145b6a04feb2610dcd9d Mon Sep 17 00:00:00 2001 From: Florian Lindner Date: Sun, 10 Jun 2018 15:03:23 +0200 Subject: [PATCH] Add default path for user configuration --- borgmatic/config/collect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/borgmatic/config/collect.py b/borgmatic/config/collect.py index 871f69a..71e0c45 100644 --- a/borgmatic/config/collect.py +++ b/borgmatic/config/collect.py @@ -1,7 +1,8 @@ import os -DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d'] +DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d', + os.path.expanduser('~/.config/borgmatic/config.yaml')] def collect_config_filenames(config_paths):