vscode: add code-insiders support (#7836)

This commit is contained in:
George Cheng
2019-05-08 22:32:27 +08:00
committed by Marc Cornellà
parent b054e25d25
commit 7b75163543
2 changed files with 32 additions and 14 deletions

View File

@@ -1,19 +1,22 @@
# VScode zsh plugin
# author: https://github.com/MarsiBarsi
alias vsc='code .'
alias vsca='code --add'
alias vscd='code --diff'
alias vscg='code --goto'
alias vscn='code --new-window'
alias vscr='code --reuse-window'
alias vscw='code --wait'
alias vscu='code --user-data-dir'
# Use main Visual Studio Code version by default
: ${VSCODE:=code}
alias vsced='code --extensions-dir'
alias vscie='code --install-extension'
alias vscue='code --uninstall-extension'
alias vsc="$VSCODE ."
alias vsca="$VSCODE --add"
alias vscd="$VSCODE --diff"
alias vscg="$VSCODE --goto"
alias vscn="$VSCODE --new-window"
alias vscr="$VSCODE --reuse-window"
alias vscw="$VSCODE --wait"
alias vscu="$VSCODE --user-data-dir"
alias vscv='code --verbose'
alias vscl='code --log'
alias vscde='code --disable-extensions'
alias vsced="$VSCODE --extensions-dir"
alias vscie="$VSCODE --install-extension"
alias vscue="$VSCODE --uninstall-extension"
alias vscv="$VSCODE --verbose"
alias vscl="$VSCODE --log"
alias vscde="$VSCODE --disable-extensions"