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>
This commit is contained in:
1 parent
c42942d53e
commit
b087bf7d80
1 file changed
+1
-1
+1
-1
@@ -60,7 +60,7 @@ map a :push %mkdir<space>
|
|||||||
|
|
||||||
# move current file or selected files to trash folder
|
# move current file or selected files to trash folder
|
||||||
# (also see 'man mv' for backup/overwrite options)
|
# (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
|
# define a custom 'delete' command
|
||||||
# cmd delete ${{
|
# cmd delete ${{
|
||||||
|
|||||||
Reference in new issue
Block a user