The following columnsublime usage tutorialwill introduce to you how to use the command line to open sublime under the zsh terminal. I hope it will be helpful to friends in need!

Open the front-end common editor under zsh
1. .zshrc is the zsh related configuration file, open the configuration file first
vim .zshrc
2. Add the following code, the specific path may be inconsistent
alias atom='/Applications/Atom.app/Contents/MacOS/Atom' alias subl='/Applications/SublimeText.app/Contents/SharedSupport/bin/subl' alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code'
3. Restart to
use it, for example, use sublime to open the current directory
subl ./
Note : To display the path in finder, you can execute the following line of code in the terminal
defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder
The above is the detailed content of How to open sublime using command line in zsh terminal. For more information, please follow other related articles on the PHP Chinese website!
Sublime input Chinese method
How to turn off sublime auto-completion
How to install third-party libraries in sublime
sublime runs js code
jquery implements paging method
How to use vlookup function
The difference between MATE60 and MATE60PRO
The computer has Internet access but the browser cannot open the web page