From 2cc5f6fc281461e8a07c257afca88fff7bb55638 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Mon, 20 Feb 2023 19:31:52 +0100 Subject: lf: drop unnecessary settings --- .config/lf/lfrc | 14 -------------- 1 file changed, 14 deletions(-) (limited to '.config/lf/lfrc') diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 62cb8f2..bd8f1d5 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -1,23 +1,9 @@ set shell sh set shellopts '-eu' -set ifs "\n" set scrolloff 10 # set hidden # set icons -# set previewer ctpv -# set cleaner ctpvclear -# &ctpv -s $id -# &ctpvquit $id - -cmd open ${{ - test -L $f && f=$(readlink -f $f) - case $(file --mime-type $f -b) in - text/*) $EDITOR $fx;; - *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;; - esac -}} - cmd on-cd &{{ printf "\033]0; $(pwd | sed "s|$HOME|~|") - lf\007" > /dev/tty }} -- cgit v1.2.3-70-g09d2