Skip to content

Instantly share code, notes, and snippets.

@tovbinm
Created June 22, 2012 22:37
Show Gist options
  • Save tovbinm/2975579 to your computer and use it in GitHub Desktop.
Save tovbinm/2975579 to your computer and use it in GitHub Desktop.
Emacs from command line on Mac
If you want to easily run emacs from the command line on mac (and not open a new instance of emacs each time), put the following in your .bash_profile:
alias emacs="DYLD_LIBRARY_PATH=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:\$SDROOT/lib open -a /Applications/Emacs.app \"$@\""
And in your .emacs file:
(setq ns-pop-up-frames nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment