restore delete command
This commit is contained in:
parent
2f56742739
commit
e53641d158
16
lfrc
16
lfrc
|
@ -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/)
|
||||||
|
|
Loading…
Reference in New Issue