diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-28 22:07:18 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-28 22:07:18 +0000 |
commit | e9ad72508cb0e05c1cb4d581e66aae34b0210c45 (patch) | |
tree | 0f82b689f537ac6784c60374c5823a6967f243b6 /src | |
parent | f4bf8bc6f645f1aeb396effd17f1afdd6b909a75 (diff) | |
download | imv-e9ad72508cb0e05c1cb4d581e66aae34b0210c45.tar.gz |
Tweak environment variable name for current path
Diffstat (limited to 'src')
-rw-r--r-- | src/imv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -191,7 +191,7 @@ struct imv *imv_create(void) add_bind(imv, "<x>", "remove"); add_bind(imv, "<f>", "fullscreen"); add_bind(imv, "<d>", "overlay"); - add_bind(imv, "<p>", "exec echo $imv_path"); + add_bind(imv, "<p>", "exec echo $imv_current_file"); add_bind(imv, "<Equals>", "zoom 1"); add_bind(imv, "<Up>", "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); } |