在 Mac 上,如何从 shell 启动 TextEdit 或 TextMate?(重击)

non*_*ity 2 terminal textmate command-line textedit macos

我试过了,唯一的方法似乎是输入

/Applications/TextEdit.app/Contents/MacOS/TextEdit
Run Code Online (Sandbox Code Playgroud)

在 bash shell 中。但即使我关闭应用程序,它也不会被视为退出。我需要转到 Dock 上的应用程序图标,然后单击“退出”以退出。

任何其他方式来调用和退出它?谢谢。

Jos*_*h K 9

您可以使用mate [file]从外壳打开它。

这确实需要您链接 this,但它相当容易,我相信它可能已经是首选项中的一个选项。刚刚检查,转到菜单栏中的“帮助”->“终端使用”

您还可以使用mate .(注意.)在 TextMate 中将整个当前文件夹作为项目打开。