Subl command not working - command not found

前端 未结 13 521
别那么骄傲
别那么骄傲 2021-01-30 05:11

I\'m having difficulty getting this set up. I fixed my .bash_profile, and created the symlink using the following command from the Sublime website:

         


        
13条回答
  •  春和景丽
    2021-01-30 05:53

    While sarbottam's answer is the proper way to do it, if you're lazy like me, and use subl to just do an subl ., you can add an alias to your ~/.bash_profile

    alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
    

    and either open a new terminal window or run the .bash_profile

提交回复
热议问题