diff --git a/dots/lf/lfrc b/dots/lf/lfrc index f7450d8..f7a3568 100644 --- a/dots/lf/lfrc +++ b/dots/lf/lfrc @@ -37,7 +37,7 @@ set cleaner ctpvclear # map # -------------------- map trash-confirm # use '' key for 'trash' -map trash +map trash # control + delete - for no confirm - you have control map shell # use enter for shell commands map :unselect; clear # clear all selected map ` !true # show the result of execution of previous commands @@ -65,7 +65,6 @@ map X !$f # esac # }} - cmd open ${{ case "$f" in @@ -119,7 +118,7 @@ cmd recol %{{ cmd trash %tp.sh "$fx" cmd trash-confirm ${{ - echo 'delete? [y/n]' + echo 'delete "$fx"? [y/n]' read ans [ $ans = 'y' ] && trash %tp.sh "$fx" || echo 'cancelled' }}