Last active
May 9, 2024 18:23
-
-
Save Arqentum/e8d20b7af479f7759c5aed256c247a3e to your computer and use it in GitHub Desktop.
#Sublime set alias and fix #Git commit editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1) Run in Terminal: | |
| # This adds a subl alias to /usr/local/bin/ pointing to Sublime Text 3 app’s binary file. | |
| # Now running subl in Terminal will launch Sublime Text 3 app. | |
| sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl | |
| # 2) Run in Terminal: | |
| git config --global core.editor "subl -n -w" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment