restore delete command

This commit is contained in:
Ray Elliott 2020-07-13 21:21:27 +01:00
parent 2f56742739
commit e53641d158
1 changed files with 8 additions and 8 deletions

16
lfrc
View File

@ -55,17 +55,17 @@ cmd open ${{
cmd trash %set -f; mv $fx ~/.trash cmd trash %set -f; mv $fx ~/.trash
# define a custom 'delete' command # define a custom 'delete' command
# cmd delete ${{ cmd delete ${{
# set -f set -f
# printf "$fx\n" printf "$fx\n"
# printf "delete?[y/n]" printf "delete?[y/n]"
# read ans read ans
# [ $ans = "y" ] && rm -rf $fx [ $ans = "y" ] && rm -rf $fx
# }} }}
# use '<delete>' key for either 'trash' or 'delete' command # use '<delete>' key for either 'trash' or 'delete' command
# map <delete> trash # map <delete> trash
# map <delete> delete map <delete> delete
# extract the current file with the right command # extract the current file with the right command
# (xkcd link: https://xkcd.com/1168/) # (xkcd link: https://xkcd.com/1168/)