快捷方式不起作用

快捷方式不起作用

本文介绍了Sublime Text subl 快捷方式不起作用:ln:/Users/edmundmai/bin/subl: No such file or directory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为 sublime text 2(subl) 设置终端快捷方式,但它不起作用.我正在按照 https://github.com/mhartl/rails_tutorial_sublime_text/上的说明进行操作blob/master/README.md 但无法通过第一步.

Hi I am trying to set up the terminal shortcut for sublime text 2(subl) but it's not working. I'm following the directions on https://github.com/mhartl/rails_tutorial_sublime_text/blob/master/README.md but can't get past the first step.

当我输入时:

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl

我收到错误

ln: /Users/edmundmai/bin/subl: No such file or directory

我该怎么办?

推荐答案

这可能意味着没有 ~/bin 目录.这也可能意味着它不在 PATH 中.所以继续下一个建议:

This probably means that there is no ~/bin directory. Which also probably means that it isn't in the PATH. So just continue on to the next suggestion:

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

这篇关于Sublime Text subl 快捷方式不起作用:ln:/Users/edmundmai/bin/subl: No such file or directory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 11:28