Skip to content

Instantly share code, notes, and snippets.

@zaypen
Created June 20, 2018 05:46
Show Gist options
  • Save zaypen/111756bd3ae769d04ec0f01a10128ea6 to your computer and use it in GitHub Desktop.
Save zaypen/111756bd3ae769d04ec0f01a10128ea6 to your computer and use it in GitHub Desktop.
/usr/local/bin/emacs
#!/usr/bin/env bash
APP="/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs"
if [ -x "$APP" ]; then
"$APP" $@
else
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment