XDG_CONFIG_HOME unset #14

Closed
opened 2019-02-19 03:18:59 +00:00 by phan-do · 2 comments
phan-do commented 2019-02-19 03:18:59 +00:00 (Migrated from github.com)

After a clean install, my $XDG_CONFIG_HOME is unset so the $MONDO_DIR variable gets set to /mondo which obviously messes things up a bit.

Apparently $XDG_CONFIG_HOME isn't set automatically? I thought it was... Maybe I did something wrong...

Anyways, maybe a check should be put in like XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}".

After a clean install, my `$XDG_CONFIG_HOME` is unset so the `$MONDO_DIR` variable gets set to */mondo* which obviously messes things up a bit. Apparently `$XDG_CONFIG_HOME` isn't set [automatically](https://wiki.archlinux.org/index.php/XDG_Base_Directory#Specification)? I thought it was... Maybe I did something wrong... Anyways, maybe a check should be put in like `XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"`.
budRich commented 2019-02-19 19:47:48 +00:00 (Migrated from github.com)

thanks for reporting. I will add defaults to that. I actually just recorded a video for my youtube channel about environment variables, where i use XDG_CONFIG_HOME, and in that video i jokingly say "If you want to be really really, thorough, set a default to this as well" :)

thanks for reporting. I will add defaults to that. I actually just recorded a video for my youtube channel about environment variables, where i use XDG_CONFIG_HOME, and in that video i jokingly say "If you want to be really really, thorough, set a default to this as well" :)
budRich commented 2019-02-20 13:51:56 +00:00 (Migrated from github.com)

latest release #15 fixes this .

latest release #15 fixes this .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/mondo#14
No description provided.