From a07c5428702175709b5407d31eb47920b56a9822 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 15 Sep 2019 01:37:39 +0530 Subject: Retain filter after running command --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nnn.c b/src/nnn.c index d48fc81..a6abad9 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1740,7 +1740,7 @@ static int filterentries(char *path) /* If there's a filter, try a command on ^P */ if (cfg.filtercmd && *ch == CONTROL('P') && len > 1) { spawn(shell, "-c", pln, path, F_CLI | F_CMD); - *ch = CONTROL('L'); + continue; } if (len == 1) -- cgit v1.2.3-70-g09d2