diff --git a/lfrc b/lfrc index f2c1693..27e4d14 100644 --- a/lfrc +++ b/lfrc @@ -37,7 +37,7 @@ map O $mimeopen --ask $f # text files and a file opener for the rest. cmd open ${{ case $(file --mime-type $f -b) in - image/*) feh -FZd --conversion-timeout 2 $fx . &;; + image/*) feh -FZd --conversion-timeout 2 --start-at $f . &;; text/*) $EDITOR $fx;; *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;; esac