1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-20 09:19:20 +03:00
This commit is contained in:
Arun Prakash Jana 2019-03-14 00:12:37 +05:30
parent 2849da93e7
commit f9036bd959
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -1187,8 +1187,9 @@ static void xrm(char *path)
if (cfg.trash)
spawn("trash-put", path, NULL, NULL, F_NORMAL);
else {
char rm_opts[] = {'-', confirm_force(), 'r'};
char rm_opts[] = "-ir";
rm_opts[1] = confirm_force();
spawn("rm", rm_opts, path, NULL, F_NORMAL);
}
}