atom-editor - Atom 不会从命令行启动
问题描述
我将 OSX 更新为 High Sierra,我的 Atom 停止从命令行工作。
$ atom .
FSPathMakeRef(/Applications/Atom.app) failed with error -36.
我已经卸载了 Atom 并重新安装了 Atom 并运行了“安装 Shell 命令”。:/
有什么建议么?
解决方案
通过单击 Applications 文件夹中的图标来运行 Atom。一旦 Atom 运行,转到 Atom 菜单并单击“安装 Shell 命令”。下次要运行 atom 时,请在终端命令行上键入 atom。如果这不起作用,请尝试将以下语句放入您的 .bash_profile
alias atom="Applications/Atom.app/Contents/MacOs/Atom"
推荐阅读
- laravel - Laravel 检查数据透视表以查看用户是否已分配给团队
- reactjs - 从其他孩子设置父组件模式道具 - ReactJS
- java - 引起:org.codehaus.groovy.control.MultipleCompilationErrorsException
- android - 检查在中国是否可以访问互联网
- opengl - OpenGL混合 - 用不同的颜色填充交叉点
- kubernetes - ebs.csi.aws.com 与 kubernetes.io/aws-ebs 的供应商有何区别?
- java - java 8中的雪花时间戳转换
- google-apps-script - 如何通过引用 URL 编写函数来计算其他电子表格中的工作表数量
- sql - 根据两列重复值找出唯一的顶部记录
- regex - 正则表达式从 X 到 Y 但不包括另一个 X