2011-02-24 84 views

回答

2

我用:

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

然後我可以輸入cemacs foo.txt和有emacs的打開文件。

(難道這就是你問的嗎?這個問題有點模糊。)

+0

這是行得通的。我將它們添加到bashrc文件中。 – lkahtz 2011-02-24 13:37:15

0

出口EDITOR =的/ usr/bin中/ emacs的

到你的〜/ .bash_profile中

相關問題