mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fixed help config file locations
This commit is contained in:
parent
270c88fc0f
commit
58655a90c3
@ -188,7 +188,11 @@ static struct cmd_t main_commands[] =
|
||||
"List all current user preference settings.",
|
||||
"User preferences are stored at:",
|
||||
"",
|
||||
" ~/.profanity/config",
|
||||
" $XDG_CONFIG_HOME/profanity/profrc",
|
||||
"",
|
||||
"If the environment variable XDG_CONFIG_HOME is not set the following default if used:",
|
||||
"",
|
||||
" $HOME/.config/profanity/profrc",
|
||||
"",
|
||||
"Preference changes made using the various commands take effect immediately,",
|
||||
"you will need to restart Profanity for config file edits to take effect.",
|
||||
@ -201,7 +205,11 @@ static struct cmd_t main_commands[] =
|
||||
"--------------",
|
||||
"Change the colour setting as defined in:",
|
||||
"",
|
||||
" ~/.profanity/themes/theme-name",
|
||||
" $XDG_CONFIG_HOME/profanity/themes/theme-name",
|
||||
"",
|
||||
"If the environment variable XDG_CONFIG_HOME is not set the following default if used:",
|
||||
"",
|
||||
" $HOME/.config/profanity/themes/theme-name",
|
||||
"",
|
||||
"Using \"default\" as the theme name will reset to the default colours.",
|
||||
NULL } } },
|
||||
|
@ -150,6 +150,6 @@ _mkdir_recursive(const char *dir)
|
||||
_create_dir(next_dir);
|
||||
g_free(next_dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ xdg_get_config_home(void)
|
||||
g_string_append(default_path, "/.config");
|
||||
gchar *result = strdup(default_path->str);
|
||||
g_string_free(default_path, TRUE);
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@ -56,7 +56,7 @@ xdg_get_data_home(void)
|
||||
g_string_append(default_path, "/.local/share");
|
||||
gchar *result = strdup(default_path->str);
|
||||
g_string_free(default_path, TRUE);
|
||||
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user