Config file location ~/.profanity/config

This commit is contained in:
James Booth
2012-07-19 21:43:41 +01:00
parent bf6f596899
commit cfef78bd82
2 changed files with 2 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ void prefs_load(void)
{
ac = p_autocomplete_new();
prefs_loc = g_string_new(getenv("HOME"));
g_string_append(prefs_loc, "/.config/profanity/config");
g_string_append(prefs_loc, "/.profanity/config");
prefs = g_key_file_new();
g_key_file_load_from_file(prefs, prefs_loc->str, G_KEY_FILE_NONE, NULL);