Subl Command Not Found

来源:互联网 发布:阿尔法淘宝宝贝下载 编辑:程序博客网 时间:2024/06/07 08:12


https://teamtreehouse.com/forum/ruby-on-rails-subl-command-not-found


subl Gemfile-bash: subl: command not found


Run this in your terminal:

alias subl='open -a /Applications/Sublime\ Text\ 2.app'

This will create an alias, which will subsequently enable you to open sublime withe subl command. open -a stands for "open application".

To view all your aliases simply run alias in your terminal. To remove an alias run unalias aliasname. HTH :)



下边这个可以加link

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

0 0
原创粉丝点击