2

There are 2 answers

0
cobbal On BEST ANSWER

I use:

alias cemacs='open -a /Applications/Emacs.app' 

Then I can type cemacs foo.txt and have emacs open the file.

(Is that what you were asking? The question was a little vague.)

0
TigrisC On

export EDITOR=/usr/bin/emacs

to your ~/.bash_profile