This commit is contained in:
committer
2024-06-15 16:11:42 -05:00
parent 9e0b94eafd
commit dad4d45327

View File

@@ -62,11 +62,12 @@ map X !$f
# esac
#}}
# *.[Pp][Dd][Ff]*) sioyek $fx;;
cmd open ${{
case "$f" in
*.[Rr][Pp][Pp]*) reaper $fx;;
*.[Pp][Dd][Ff]*) sioyek $fx;;
*) case $(file --mime-type -Lb $f) in
text/*) helix $fx;;
*) for f in $fx; do xdg-open $f > /dev/null 2> /dev/null & done;;