zsh plugin for Visual Studio Code on Mac OS X.
- Put the .zsh file somewhere. For example,
~/ - In
~/.zshrc, add a line like. ~/.vsc.plugin.zsh - Run
source ~/.zshrc - Enjoy!
-
If
vsccommand is called without an argument, launch VS Code -
If
vscis passed a directory,cdto it and open it in VS Code -
If
vscis passed a file, open it in VS Code -
If
vscccommand is called, it is equivalent tovsc ., opening the current folder in VS Code