mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
In addition to searching the statically configured WEECHAT_LIBDIR (weechat's installation directory) for plugins, search the path given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes departing from the FHS standard while keeping the plugins packaged separately easier. This change was made specifically with the Nix package manager in mind, but can easily be used by others.
This commit is contained in:
committed by
Sébastien Helleu
parent
5e48b50da8
commit
d6c1d02eca
+1
-1
@@ -161,7 +161,7 @@ main (int argc, char *argv[])
|
||||
input_data (gui_buffer_search_main (), "/command core version");
|
||||
|
||||
/* auto-load plugins, only from path in option weechat.plugin.path */
|
||||
plugin_auto_load (0, NULL, 1, 0);
|
||||
plugin_auto_load (0, NULL, 1, 0, 0);
|
||||
|
||||
/* run all tests */
|
||||
printf ("\n");
|
||||
|
||||
Reference in New Issue
Block a user