mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
merge
This commit is contained in:
parent
a8c56f5231
commit
8274156fae
296 changed files with 6279 additions and 3141 deletions
|
|
@ -3,6 +3,7 @@
|
|||
# https://github.com/MarsiBarsi (original author)
|
||||
# https://github.com/babakks
|
||||
# https://github.com/SteelShot
|
||||
# https://github.com/AliSajid
|
||||
|
||||
# Verify if any manual user choice of VS Code exists first.
|
||||
if [[ -n "$VSCODE" ]] && ! which $VSCODE &>/dev/null; then
|
||||
|
|
@ -23,7 +24,14 @@ if [[ -z "$VSCODE" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
alias vsc="$VSCODE ."
|
||||
function vsc {
|
||||
if (( $# )); then
|
||||
$VSCODE $@
|
||||
else
|
||||
$VSCODE .
|
||||
fi
|
||||
}
|
||||
|
||||
alias vsca="$VSCODE --add"
|
||||
alias vscd="$VSCODE --diff"
|
||||
alias vscg="$VSCODE --goto"
|
||||
|
|
@ -31,6 +39,7 @@ alias vscn="$VSCODE --new-window"
|
|||
alias vscr="$VSCODE --reuse-window"
|
||||
alias vscw="$VSCODE --wait"
|
||||
alias vscu="$VSCODE --user-data-dir"
|
||||
alias vscp="$VSCODE --profile"
|
||||
|
||||
alias vsced="$VSCODE --extensions-dir"
|
||||
alias vscie="$VSCODE --install-extension"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue