From e9ad72508cb0e05c1cb4d581e66aae34b0210c45 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Tue, 28 Nov 2017 22:07:18 +0000 Subject: Tweak environment variable name for current path --- src/imv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/imv.c b/src/imv.c index 2d67bf7..b86ddcd 100644 --- a/src/imv.c +++ b/src/imv.c @@ -191,7 +191,7 @@ struct imv *imv_create(void) add_bind(imv, "", "remove"); add_bind(imv, "", "fullscreen"); add_bind(imv, "", "overlay"); - add_bind(imv, "

", "exec echo $imv_path"); + add_bind(imv, "

", "exec echo $imv_current_file"); add_bind(imv, "", "zoom 1"); add_bind(imv, "", "zoom 1"); add_bind(imv, "<+>", "zoom 1"); @@ -1076,7 +1076,7 @@ void command_exec(struct list *args, const char *argstr, void *data) { (void)args; struct imv *imv = data; - setenv("imv_path", imv_navigator_selection(imv->navigator), 1); + setenv("imv_current_file", imv_navigator_selection(imv->navigator), 1); system(argstr); } -- cgit v1.2.3