2018-07-03 23:45:42 +08:00
|
|
|
# VScode zsh plugin
|
|
|
|
# author: https://github.com/MarsiBarsi
|
|
|
|
|
2019-05-08 22:32:27 +08:00
|
|
|
# Use main Visual Studio Code version by default
|
|
|
|
: ${VSCODE:=code}
|
2018-07-03 23:45:42 +08:00
|
|
|
|
2019-05-08 22:32:27 +08:00
|
|
|
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"
|
2018-07-03 23:45:42 +08:00
|
|
|
|
2019-05-08 22:32:27 +08:00
|
|
|
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"
|