[英]Start Mac OS Emacs.app with command line arguments in background
建議在Emacs Wiki上以這種方式創建名為~/bin/emacs
的可執行腳本,其中包含以下內容:
#!/bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs "$@"
但是,在運行emacs .
,Emacs不在當前目錄中啟動。
如何才能做到這一點?
這對我有用:
#!/bin/sh
$(/Applications/Emacs.app/Contents/MacOS/Emacs "$@") &
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.