u
This commit is contained in:
@@ -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/)
|
||||||
|
|||||||
Reference in New Issue
Block a user