summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lf/.config/lf/lfrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lf/.config/lf/lfrc b/lf/.config/lf/lfrc
index d10983c..1bd64ee 100644
--- a/lf/.config/lf/lfrc
+++ b/lf/.config/lf/lfrc
@@ -42,6 +42,7 @@ cmd open ${{
42 test -L $f && f=$(readlink -f $f) 42 test -L $f && f=$(readlink -f $f)
43 case $(file --mime-type $f -b) in 43 case $(file --mime-type $f -b) in
44 text/*) $EDITOR $fx;; 44 text/*) $EDITOR $fx;;
45 video/*|image/*|application/pdf) open $fx;;
45 *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;; 46 *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
46 esac 47 esac
47}} 48}}