Fix moving to trash

This commit is contained in:
Digital Studium 2024-04-01 08:14:21 +03:00
parent 323da3d382
commit 9df6475fce
1 changed files with 1 additions and 1 deletions

View File

@ -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