This commit is contained in:
committer
2024-06-01 07:55:39 -05:00
parent 51ecbf60d8
commit d7a5aabc42

View File

@@ -63,6 +63,14 @@ map X !$f
#}} #}}
cmd open ${{ cmd open ${{
filename=$(basename -- "$f")
extension="${filename##*.}"
filename="${filename%.*}"
case $($extension) in
RPP) reaper $fx;;
esac
case $(file --mime-type -Lb $f) in case $(file --mime-type -Lb $f) in
text/*) helix $fx;; text/*) helix $fx;;
reaper/*) reaper $fx;; reaper/*) reaper $fx;;