From bbc402140e808d0a361e930111e5155ddddbcd45 Mon Sep 17 00:00:00 2001 From: ckie Date: Fri, 18 Aug 2023 23:58:08 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9C=20mommy=20follows=20the=20XDG=20ba?= =?UTF-8?q?se=20directory=20specification=20now~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it is very important mommy can find her girl's instructions even when they are scribbled down in an unusual place! https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html --- src/main/sh/mommy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/sh/mommy b/src/main/sh/mommy index 68bb0bf..478aeec 100755 --- a/src/main/sh/mommy +++ b/src/main/sh/mommy @@ -192,7 +192,7 @@ fill_template() { MOMMY_OPT_HELP="" MOMMY_OPT_VERSION="" MOMMY_OPT_TARGET="2" -MOMMY_OPT_CONFIG_FILE=${MOMMY_OPT_CONFIG_FILE:-"$HOME/.config/mommy/config.sh"} +MOMMY_OPT_CONFIG_FILE=${MOMMY_OPT_CONFIG_FILE:-"${XDG_CONFIG_HOME:-"$HOME/.config"}/mommy/config.sh"} MOMMY_OPT_EVAL="" MOMMY_OPT_STATUS=""