mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Pin dir when visitng target file in find and list
This commit is contained in:
parent
509f069818
commit
6fa4978230
|
@ -5666,6 +5666,10 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Pin current directory */
|
||||||
|
free(mark);
|
||||||
|
mark = xstrdup(path);
|
||||||
|
|
||||||
cdprep(lastdir, NULL, path, newpath)
|
cdprep(lastdir, NULL, path, newpath)
|
||||||
? (presel = FILTER) : (watch = TRUE);
|
? (presel = FILTER) : (watch = TRUE);
|
||||||
xstrsncpy(lastname, pdents[cur].name, NAME_MAX + 1);
|
xstrsncpy(lastname, pdents[cur].name, NAME_MAX + 1);
|
||||||
|
|
Loading…
Reference in a new issue