fix: disable pathname expansion in lfrc.example (#2544)

This commit is contained in:
valoq authored and GitHub committed 2026-04-23 19:04:02 +10:00
1 parent 73c7f1be8c
commit cad59d9654
1 file changed
+1
+1
View File
@@ -42,6 +42,7 @@ map O $mimeopen --ask "$f"
# use either file extensions and/or mime types here. Below uses an editor for
# text files and a file opener for the rest.
cmd open &{{
set -f
case $(file --mime-type -Lb "$f") in
text/*) lf -remote "send $id \$$EDITOR \$fx";;
*) for f in $fx; do $OPENER "$f" > /dev/null 2> /dev/null & done;;