fix: disable pathname expansion in lfrc.example (#2544)
This commit is contained in:
1 parent
73c7f1be8c
commit
cad59d9654
1 file changed
+1
@@ -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;;
|
||||
|
||||
Reference in new issue
Block a user