From b087bf7d804d14e5dd7e6058aec6bbdc6256f1fa Mon Sep 17 00:00:00 2001 From: valoq Date: Wed, 19 Feb 2025 00:38:33 +0100 Subject: [PATCH] verify the Trash directory exists before moving files there (#1918) * verify the Trash directory exists before moving files there * Update etc/lfrc.example Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com> --------- Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com> --- etc/lfrc.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/lfrc.example b/etc/lfrc.example index 59f688de..caa5ad4d 100644 --- a/etc/lfrc.example +++ b/etc/lfrc.example @@ -60,7 +60,7 @@ map a :push %mkdir # move current file or selected files to trash folder # (also see 'man mv' for backup/overwrite options) -cmd trash %set -f; mv $fx ~/.trash +cmd trash %set -f; mv -t ~/.trash $fx # define a custom 'delete' command # cmd delete ${{