Closed ibokuri closed 5 years ago
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" :)
latest release #15 fixes this .
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}"
.