Subl command not working - command not found

前端 未结 13 516
别那么骄傲
别那么骄傲 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:41

    At my end subl was working fine but git was unable to access it. And was displaying these errors

    subl -n -w: subl: command not found
    error: There was a problem with the editor 'subl -n -w'.
    

    For Mac OS X in the file ~/.gitconfig under [core] I had to put this code to solve the issue on my end.

    editor = /Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl  -n -w
    

提交回复
热议问题