dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit cf0c36025e7dce00d515e9a7cd955fb7dd76a1b6
parent c63aa7db07d0d92797d9b5166a9a130d405c4660
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 13 Apr 2020 22:32:52 +0200

lf: use builtin delete function

Former-commit-id: 23398750a77616abceef4305fd374049dfa19713
Diffstat:
Mlf/lfrc | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/lf/lfrc b/lf/lfrc @@ -38,15 +38,6 @@ cmd open ${{ # define a custom 'rename' command without prompt for overwrite cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1 -# define a custom 'delete' command -cmd delete ${{ - set -f - printf "$fx\n" - printf "delete?[y/n]" - read ans - [ $ans = "y" ] && rm -rf $fx -}} - # extract the current file with the right command # (xkcd link: https://xkcd.com/1168/) cmd extract ${{