From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh | 41 -------------------------- 1 file changed, 41 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh') diff --git a/zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh b/zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh deleted file mode 100644 index 48d9043..0000000 --- a/zsh/oh-my-zsh/plugins/vscode/vscode.plugin.zsh +++ /dev/null @@ -1,41 +0,0 @@ -# VS Code (stable / insiders) / VSCodium zsh plugin -# Authors: -# https://github.com/MarsiBarsi (original author) -# https://github.com/babakks -# https://github.com/SteelShot - -# Verify if any manual user choice of VS Code exists first. -if [[ -n "$VSCODE" ]] && ! which $VSCODE &>/dev/null; then - echo "'$VSCODE' flavour of VS Code not detected." - unset VSCODE -fi - -# Otherwise, try to detect a flavour of VS Code. -if [[ -z "$VSCODE" ]]; then - if which code &>/dev/null; then - VSCODE=code - elif which code-insiders &>/dev/null; then - VSCODE=code-insiders - elif which codium &>/dev/null; then - VSCODE=codium - else - return - fi -fi - -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 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" -- cgit v1.2.3-59-g8ed1b