【问题标题】:Can't create link to atom editor on OSX for atom or sublime editors无法在 OSX 上为 atom 或 sublime 编辑器创建指向 atom 编辑器的链接
【发布时间】:2016-03-10 01:36:00
【问题描述】:

首先我没有目录/usr/local/bin,一切都加载在/usr/bin中。

命令

sudo ln -s /Applications/Atom.app/Contents/Resources/app/atom.sh /usr/bin/atom

或类似的 subl 失败并出现错误:

sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin

不允许操作。 任何提示将不胜感激。

【问题讨论】:

  • 你没有/usr/local/bin有什么特殊原因为什么

标签: macos sublimetext2 sublimetext atom-editor


【解决方案1】:

我创建了目录/usr/local/bin,我将所有者更改为root,并将访问权限更改为755。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-15
    • 1970-01-01
    • 2019-11-11
    • 1970-01-01
    相关资源
    最近更新 更多