我在我的 mac 上使用 emacs,我使用自制软件安装了 emacs 的 Cocoa 版本。一个问题是,为了查看“Unix 路径”,我必须将路径从 复制.profile到.MacOSX/environment.plist
我在我的 .profile 中这样做:
# PATH for emacs and cocoa apps
/etc/profile begin
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
defaults write $HOME/.MacOSX/environment PATH "$PATH"
fi
Run Code Online (Sandbox Code Playgroud)
这曾经有效,但当我安装 Mountain Lion 时它停止工作。我找不到任何说明他们在此版本上对其进行了更改的手册。
有谁知道如何从 Mountain Lion 上的可可应用程序查看 unix 路径?