diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b3866154..47e783744 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,10 @@ Logos: Bugfixes: * `--logo-type` now does accept `iterm` too (@CarterLi, #374) - + Other: * Fixed a Typo in iterm error message (@jessebot, #376) +* Don't try to load config file in `/etc` (Windows) (@jessebot, #376) # 1.8.2 diff --git a/src/fastfetch.c b/src/fastfetch.c index f5c522864..b7a9c8cb8 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -1423,7 +1423,10 @@ int main(int argc, const char** argv) ffStrbufInitA(&data.structure, 256); data.loadUserConfig = true; + #ifndef _WIN32 parseConfigFileSystem(&instance, &data); + #endif + parseConfigFileUser(&instance, &data); parseArguments(&instance, &data, argc, argv);