fix sc-im opens neovim after exit
This commit is contained in:
parent
5547096020
commit
e01793f1bf
@ -16,7 +16,7 @@ cmd open ${{
|
|||||||
case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in
|
case "$(printf "%s\n" "$f" | awk '{print tolower($0)}')" in
|
||||||
*.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;;
|
*.kra|*.krz|*.ora) setsid -f krita $f >/dev/null 2>&1 && exit 0 ;;
|
||||||
*.xlsx) setsid -f libreoffice $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 ;;
|
*.org) setsid -f em $f >/dev/null 2>&1 && exit 0 ;;
|
||||||
esac
|
esac
|
||||||
case $(file --mime-type "$(readlink -f $f)" -b) in
|
case $(file --mime-type "$(readlink -f $f)" -b) in
|
||||||
|
Loading…
Reference in New Issue
Block a user