From 5700f7b9e6db3ec7104ccbeaeddae815e6acc562 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 20 Mar 2020 16:31:19 +0100 Subject: [PATCH] add default config search path in /etc/ --- pyproject.toml | 2 +- src/zaphodafier/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c56641b..2368631 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "zaphodafier" -version = "0.1.0" +version = "0.1.1" description = "" authors = ["Unit "] license = "GPL-3.0" diff --git a/src/zaphodafier/main.py b/src/zaphodafier/main.py index 695f340..7e924e4 100644 --- a/src/zaphodafier/main.py +++ b/src/zaphodafier/main.py @@ -20,7 +20,7 @@ import click "-c", "--config", multiple=True, - default=["zaphodafier.conf", "~/zaphodafier.conf", "~/.zaphodafier.conf"], + default=["zaphodafier.conf", "~/zaphodafier.conf", "~/.zaphodafier.conf", "/etc/zaphodafier.conf"], help="Configuration file", type=click.Path(), show_default="True",