Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何配置 bash 文件?
我用:
alias cemacs='open -a /Applications/Emacs.app'
然后我可以输入cemacs foo.txt并让 emacs 打开文件。
cemacs foo.txt
(这就是你要问的吗?这个问题有点含糊。)
导出编辑器=/usr/bin/emacs
到你的 ~/.bash_profile