We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d236be6 commit 72bec87Copy full SHA for 72bec87
libr/core/libs.c
@@ -158,9 +158,8 @@ static void load_scripts(RCore *core) {
158
load_scripts_at (core, homeplugindir);
159
free (homeplugindir);
160
161
- char *sysplugindir = r_str_newf ("%s/radare2/%s", R2_LIBDIR, R2_VERSION);
+ const char *sysplugindir = r_config_get (core->config, "dir.plugins");
162
load_scripts_at (core, sysplugindir);
163
- free (sysplugindir);
164
}
165
166
R_API bool r_core_loadlibs(RCore *core, int where, const char *path) {
0 commit comments