This commit is contained in:
committer
2024-05-31 16:38:45 -05:00
parent 489d28d0fe
commit 456ee6e57f
2 changed files with 3 additions and 4 deletions

View File

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