mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
Improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as joker and "!" to prevent a plugin from being autoloaded (task #6361)
Some examples for option weechat.plugin.autoload: - load all plugins (default): "*" - load only alias, charset, irc and logger: "alias,charset,irc,logger" - load all plugins but not lua and tcl: "*,!lua,!tcl" - load all plugins but not perl and python: "*,!p*" (not recommended because new future plugins may begin with "p") - do not load any plugin (weechat core alone is not really useful eheh): "!*"
This commit is contained in:
@@ -1992,9 +1992,10 @@ config_weechat_init_options ()
|
||||
weechat_config_file, ptr_section,
|
||||
"autoload", "string",
|
||||
N_("comma separated list of plugins to load automatically "
|
||||
"at startup, \"*\" means all plugins found (names may "
|
||||
"be partial, for example \"perl\" is ok for "
|
||||
"\"perl.so\")"),
|
||||
"at startup, \"*\" means all plugins found, a name beginning with "
|
||||
"\"!\" is a negative value to prevent a plugin from being loaded, "
|
||||
"names can start or end with \"*\" to match several plugins "
|
||||
"(examples: \"*\", \"*,!lua,!tcl\")"),
|
||||
NULL, 0, 0, "*", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
config_plugin_debug = config_file_new_option (
|
||||
weechat_config_file, ptr_section,
|
||||
|
||||
Reference in New Issue
Block a user