This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Pin dir when visitng target file in find and list
master
Arun Prakash Jana
4 years ago
parent
509f069818
commit
6fa4978230
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/nnn.c
+ 4
- 0
src/nnn.c
View File
@@ -5666,6 +5666,10 @@ nochange:
goto nochange;
}
/* Pin current directory */
free(mark);
mark = xstrdup(path);
cdprep(lastdir, NULL, path, newpath)
? (presel = FILTER) : (watch = TRUE);
xstrsncpy(lastname, pdents[cur].name, NAME_MAX + 1);
Write
Preview
Loading…
Cancel
Save