Fix moving to trash
This commit is contained in:
parent
323da3d382
commit
9df6475fce
|
@ -48,7 +48,7 @@ sudo cp lf_preview.sh /usr/local/bin
|
|||
cat << 'EOF' > lfrc
|
||||
set sixel true
|
||||
set previewer lf_preview.sh
|
||||
cmd trash %set -f; mv $fx ~/.trash
|
||||
cmd trash %set -f; mv -f $fx ~/.trash/$(basename $fx)-`date +%Y-%m-%d-%H-%M-%S`
|
||||
map <delete> trash
|
||||
map i $batcat --force-colorization $f
|
||||
map x $$f
|
||||
|
|
Loading…
Reference in New Issue