aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/imv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imv.c b/src/imv.c
index bb666c6..f784a27 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -1048,7 +1048,8 @@ void command_overlay(struct imv_list *args, const char *argstr, void *data)
void command_exec(struct imv_list *args, const char *argstr, void *data)
{
(void)args;
- (void)data;
+ struct imv *imv = data;
+ setenv("imv_path", imv_navigator_selection(imv->navigator), 1);
system(argstr);
}