This commit is contained in:
committer@tuxwarrior
2025-05-13 13:36:18 -05:00
parent d9ae5a9f15
commit d1e600ba80

View File

@@ -117,7 +117,7 @@ cmd recol %{{
# https://github.com/gokcehan/lf/issues/45#issuecomment-260347057 # https://github.com/gokcehan/lf/issues/45#issuecomment-260347057
#cmd trash %tp.sh "$fx" #cmd trash %tp.sh "$fx"
map trash-confirm ${{ cmd trash-confirm ${{
echo 'delete?[y/n]' echo 'delete?[y/n]'
read ans read ans
[ $ans = 'y' ] && trash %tp.sh "$fx" || echo 'cancelled' [ $ans = 'y' ] && trash %tp.sh "$fx" || echo 'cancelled'