diff --git a/dots/lf/lfrc b/dots/lf/lfrc index e1ad559..e2bf39c 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -121,11 +121,13 @@ cmd trash %tp.sh "$fx" cmd trash-confirm ${{ echo $f + echo '---' echo $fx + echo '---' echo $fs echo 'delete "$f $fx"? [y/n]' read ans - [ $ans = 'y' ] && (echo 'deleting files… $fs' && trash %tp.sh "$fx") || echo 'cancelled…' + [ $ans = 'y' ] && (echo 'deleting files… $fx' && trash %tp.sh "$fx") || echo 'cancelled…' }} # extract the current file with the right command (https://xkcd.com/1168/)