mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 08:16:22 +00:00
Possibility to specify alternative config file
Introduce `profanity -c` to specify an alternative config file.
This commit is contained in:
@@ -45,7 +45,7 @@ void load_preferences(void **state)
|
||||
create_config_dir(state);
|
||||
FILE *f = fopen("./tests/files/xdg_config_home/profanity/profrc", "ab+");
|
||||
if (f) {
|
||||
prefs_load();
|
||||
prefs_load(NULL);
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user