From f63a632cb95a99798c4864fbcb9774f3b3a07320 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 29 Oct 2023 15:23:30 +0800 Subject: [PATCH] lf: remove config Also not using it unless deployed with home-manager. --- lf/lfrc | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100755 lf/lfrc diff --git a/lf/lfrc b/lf/lfrc deleted file mode 100755 index 1577ae4..0000000 --- a/lf/lfrc +++ /dev/null @@ -1,49 +0,0 @@ -set shell sh -set shellopts '-eu' -set ifs "\n" -set drawbox true -set hidden - -set color256 -set timefmt "2006-01-02 15:04:05" -set dircounts -set scrolloff 10 - -set wrapscroll true - -# interactive delete command with a prompt since it is easy to delete them -cmd delete ${{ - set -f - printf "$fx\n" - printf "delete?[y/n]" - read ans - [ $ans = "y" ] && rm -rf $fx -}} - -# compress current file or selected files with tar and gunzip -cmd tar ${{ - set -f - mkdir $1 - cp -r $fx $1 - tar czf $1.tar.gz $1 - rm -rf $1 -}} - -# compress current file or selected files with zip -cmd zip ${{ - set -f - mkdir $1 - cp -r $fx $1 - zip -r $1.zip $1 - rm -rf $1 -}} - -map D delete -map T tar -map shell -map gr cd / -map x $$f -map X !$f - -cmap cmd-menu-complete -cmap cmd-menu-complete-back