0

How to configure the bash file?

lkahtz
  • 4,706
  • 8
  • 46
  • 72

2 Answers2

2

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.)

cobbal
  • 69,903
  • 20
  • 143
  • 156
0

export EDITOR=/usr/bin/emacs

to your ~/.bash_profile

TigrisC
  • 1,320
  • 9
  • 11