A simple oh-my-zsh plugin to open VS code a little easier across systems
Command | Description |
---|---|
vsc  | open new Visual Studio Code window |
vsc . | open the current directory in Visual Studio Code |
Change to oh-my-zsh plugins directory in your terminal:
cd ~/.oh-my-zsh/custom/plugins
Get plugin file:
wget https://raw.githubusercontent.com/kasperhesthaven/vscode/master/vscode.plugin.zsh
Add 'vscode' to your plugins in .zshrc:
plugins=(
... vscode
)
Reload .zshrc:
source ~/.zshrc