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:
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