小编FCo*_*FCo的帖子

从 OS X Mountain Lion 中的 emacs 和 Cocoa 应用程序访问 Unix 环境

我在我的 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 路径?

unix emacs cocoa osx-mountain-lion macos

5
推荐指数
1
解决办法
847
查看次数

标签 统计

cocoa ×1

emacs ×1

macos ×1

osx-mountain-lion ×1

unix ×1