diff --git a/NEWS b/NEWS index 78e25fab..2e9bdadd 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ * #63: Support for Borg --nobsdflags option to skip recording bsdflags (e.g. NODUMP, IMMUTABLE) in archive. * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically. + * Add ~/.config/borgmatic/config.yaml to default configuration path probing. 1.1.15 * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. diff --git a/borgmatic/config/collect.py b/borgmatic/config/collect.py index 71e0c45c..02ccc9dc 100644 --- a/borgmatic/config/collect.py +++ b/borgmatic/config/collect.py @@ -1,8 +1,11 @@ import os -DEFAULT_CONFIG_PATHS = ['/etc/borgmatic/config.yaml', '/etc/borgmatic.d', - os.path.expanduser('~/.config/borgmatic/config.yaml')] +DEFAULT_CONFIG_PATHS = [ + '/etc/borgmatic/config.yaml', + '/etc/borgmatic.d', + os.path.expanduser('~/.config/borgmatic/config.yaml'), +] def collect_config_filenames(config_paths):