This commit is contained in:
committer
2024-05-31 16:44:14 -05:00
parent 5baed64475
commit 7c253f60c7

View File

@@ -64,8 +64,7 @@ cmd cds :cd /home/poq/syncDir
# text files and a file opener for the rest. # text files and a file opener for the rest.
cmd open &{{ cmd open &{{
case $(file --mime-type -Lb $f) in case $(file --mime-type -Lb $f) in
# text/*) lf -remote "send $id \$$EDITOR \$fx";; text/*) lf -remote "send $id \$$EDITOR \$fx";;
text/*) lf -remote "send $id %helix \$fx";;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;; *) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac esac
}} }}