【问题标题】:mac osx, git mergetool, diffmerge, command not foundmac osx,git mergetool,diffmerge,找不到命令
【发布时间】:2012-10-11 12:02:27
【问题描述】:

我在 Applications 文件夹中安装了 DiffMerge。 我不能让 DiffMerge 自己运行,也不能在我使用 git mergetool 时运行 我的 PATH 变量:

/Applications/DiffMerge.app:/Applications/:/Applications/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin$$$:/usr/X11/bin

我错过了什么?谢谢

【问题讨论】:

    标签: macos bash diffmerge


    【解决方案1】:

    Mac App 包在文件夹中有可执行文件:

    Contents/MacOS/
    

    (reference).

    所以你的路径应该是:

    /Applications/DiffMerge.app/Contents/MacOS:/usr/bin:...etc
    

    在路径中包含/Applications/ 完全没有意义。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-04-14
      • 1970-01-01
      • 1970-01-01
      • 2014-12-23
      • 2015-12-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多