Emacsclient 191 Bytes
Newer Older
gsell's avatar
gsell committed
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

declare -r OS=$(uname -s)

if [[ "${OS}" == "Darwin" ]]; then
	"${EMACS_DIR}/Emacs.app/Contents/MacOS/bin/emacsclient" -c "$@"
else
	"${EMACS_DIR}/bin/emacsclient" -c "$@" &
fi