Created
January 13, 2012 03:19
-
-
Save timf/1604410 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
#!/bin/sh | |
CUSTOM_OSX="/Applications/Emacs.app/Contents/MacOS/Emacs" | |
EXE=`which emacs` | |
if [ `uname` == "Darwin" ]; then | |
if [ -f $CUSTOM_OSX ]; then | |
EXE=$CUSTOM_OSX | |
fi | |
elif [ -f /usr/bin/emacs-snapshot ]; then | |
EXE=/usr/bin/emacs-snapshot | |
fi | |
exec $EXE $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment