dashixiong91 / zsh-vscode

a oh-my-zsh plugin to open file in vscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zsh-vscode

This is a oh-my-zsh plugin to open file in vscode

Requirements

Usage

  • If vs command is called without an argument, launch Visual Studio Code

  • If vs is passed a directory, cd to it and open it in Visual Studio Code

  • If vs is passed a file, open it in Visual Studio Code

  • If vst command is called, it is equivalent to vs ., opening the current folder in Visual Studio Code

  • If svs command is called, it is like sudo vs, opening the file or folder in Visual Studio Code. Useful for editing system protected files.

About

a oh-my-zsh plugin to open file in vscode


Languages

Language:Shell 100.0%