1#!/usr/bin/env sh23if [ -x "$(command -v emacs)" ]; then4 emacsclient -c "$@" || (/usr/bin/emacs --daemon; emacsclient -c "$@")5elif [ -x "$(command -v neovim)" ]; then6 neovim "$@"7elif [ -x "$(command -v vim)" ]; then8 vim "$@"9fi101112