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

View file

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