Last active
December 15, 2015 03:19
-
-
Save iwadon/5193945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test `ps x | grep -v grep | grep Emacs`; then | |
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient $* | |
elif test "$#" != "0"; then | |
/Applications/Emacs.app/Contents/MacOS/Emacs --file $* | |
else | |
/Applications/Emacs.app/Contents/MacOS/Emacs | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment