Skip to content

Commit

Permalink
💜 mommy follows the XDG base directory specification now~
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ckiee committed Aug 21, 2023
1 parent 0f8dd61 commit bbc4021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/sh/mommy
Original file line number Diff line number Diff line change
Expand Up @@ -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=""

Expand Down

0 comments on commit bbc4021

Please sign in to comment.