Created
March 30, 2018 14:30
-
-
Save vutranvn/ba668ec66e9398c6bb77ba0ac4a6bd96 to your computer and use it in GitHub Desktop.
Config open any app by terminal on macOS
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
sudo mkdir -p /usr/local/bin | |
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime | |
- Open ~/.bash_profile and add | |
export PATH=/usr/local/bin:$PATH | |
- Testing | |
sublime filename | |
or | |
sublime foldername | |
or | |
sublime . (current directory) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment