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

@@ -39,10 +39,7 @@ void p_slist_free_full(GSList *items, GDestroyNotify free_func)
void create_config_directory()
{
GString *dir = g_string_new(getenv("HOME"));
g_string_append(dir, "/.config");
_create_dir(dir->str);
g_string_append(dir, "/profanity");
g_string_append(dir, "/.profanity");
_create_dir(dir->str);
}