Created
December 4, 2020 13:18
-
-
Save azonov/f530f8e1aa3902e48fa0a4c73cc910bc to your computer and use it in GitHub Desktop.
Setup sublime text editor for terminal
This file contains 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
# - Download Sublime https://www.sublimetext.com/ | |
# - Install Sublime (move Sublime.app to Application folder) | |
# - Allow sublime to open files from terminal | |
$ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime | |
# - Open ./.zshrc via TextEdit | |
$ open ~/.zshrc | |
#or | |
$ touch ~/.zshrc | |
# if file does not exist. | |
# - Insert next lines to .zshrc | |
export PATH="/usr/local/bin:$PATH" | |
#Be extremely carefully with quotes | |
# - Check sublime command | |
$ sublime ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment