mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
Global: add NO_CONFIG env variable
to disable parsing config files, for debugging purpose.
This commit is contained in:
+2
-1
@@ -1490,7 +1490,8 @@ int main(int argc, const char** argv)
|
||||
ffStrbufInitA(&data.structure, 256);
|
||||
data.loadUserConfig = true;
|
||||
|
||||
parseConfigFiles(&instance, &data);
|
||||
if(!getenv("NO_CONFIG"))
|
||||
parseConfigFiles(&instance, &data);
|
||||
parseArguments(&instance, &data, argc, argv);
|
||||
|
||||
//If we don't have a custom structure, use the default one
|
||||
|
||||
Reference in New Issue
Block a user