diff --git a/moberg.c b/moberg.c index 72fca0858879516e501f3941df2ab5dde4e81b8e..c94cbaed2391c28585d743076b9ee20c9496872c 100644 --- a/moberg.c +++ b/moberg.c @@ -260,6 +260,7 @@ struct moberg *moberg_new() memset(result, 0, sizeof(*result)); /* Parse default configuration(s) */ + setenv("HOME", "/", 0); const char * const *config_paths = xdgSearchableConfigDirectories(NULL); const char * const *path; for (path = config_paths ; *path ; path++) {