fix sc-im opens neovim after exit

This commit is contained in:
cho 2023-09-05 20:27:22 +07:00
parent 5547096020
commit e01793f1bf

View File

@ -16,7 +16,7 @@ cmd open ${{
case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in
*.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;;
*.xlsx) setsid -f libreoffice $f >/dev/null 2>&1 && exit 0 ;;
*.sc) sc-im $f ;;
*.sc) sc-im $f && exit 0;;
*.org) setsid -f em $f >/dev/null 2>&1 && exit 0 ;;
esac
case $(file --mime-type "$(readlink -f $f)" -b) in