diff --git a/noice.c b/noice.c index a95ab6fd..3ee658d7 100644 --- a/noice.c +++ b/noice.c @@ -695,6 +695,8 @@ nochange: filter = tmp; filter_re = re; DPRINTF_S(filter); + /* Save current */ + oldpath = makepath(path, dents[cur].name); goto out; case SEL_NEXT: if (cur < n - 1)