This commit is contained in:
committer@tuxwarrior
2025-05-13 17:00:58 -05:00
parent 315890c818
commit f432109b41

View File

@@ -121,11 +121,13 @@ cmd trash %tp.sh "$fx"
cmd trash-confirm ${{ cmd trash-confirm ${{
echo $f echo $f
echo '---'
echo $fx echo $fx
echo '---'
echo $fs echo $fs
echo 'delete "$f $fx"? [y/n]' echo 'delete "$f $fx"? [y/n]'
read ans 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/) # extract the current file with the right command (https://xkcd.com/1168/)