Unverified Commit be8084d5 authored by Marius's avatar Marius
Browse files

Add a search path for ZATHURA_PLUGIN_PATH.

parent df34d8f1
......@@ -599,6 +599,8 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
if (dir != NULL) {
set_plugin_dir(zathura, dir);
} else if (g_getenv("ZATHURA_PLUGIN_PATH") != NULL) {
set_plugin_dir(zathura, g_getenv("ZATHURA_PLUGIN_PATH"));
} else {
set_plugin_dir(zathura, ZATHURA_PLUGINDIR);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment