Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 588 Bytes

File metadata and controls

20 lines (14 loc) · 588 Bytes

vsc.plugin.zsh

zsh plugin for Visual Studio Code on Mac OS X.

Requirements

Installation

  • Put the .zsh file somewhere. For example, ~/
  • In ~/.zshrc, add a line like . ~/.vsc.plugin.zsh
  • Run source ~/.zshrc
  • Enjoy!

Usage

  • If vsc command is called without an argument, launch VS Code

  • If vsc is passed a directory, cd to it and open it in VS Code

  • If vsc is passed a file, open it in VS Code

  • If vscc command is called, it is equivalent to vsc ., opening the current folder in VS Code