On entry delete move to previous file

This commit is contained in:
Arun Prakash Jana 2018-12-10 00:09:05 +05:30
parent 55abe4f76e
commit 31c15dcdca
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 0 deletions

View File

@ -3199,7 +3199,11 @@ nochange:
mkpath(path, dents[cur].name, newpath, PATH_MAX);
spawn("rm", rm_opts, newpath, NULL, F_NORMAL | F_SIGINT);
if (cur && access(newpath, F_OK) == -1)
--cur;
copycurname();
if (cfg.filtermode)
presel = FILTER;
goto begin;