mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Merge d8b89a5138 into 4224c2a1af
This commit is contained in:
commit
55acfe0648
1 changed files with 5 additions and 0 deletions
|
|
@ -80,7 +80,12 @@ alias gcp='git cherry-pick'
|
|||
alias gcs='git commit -S'
|
||||
|
||||
alias gd='git diff'
|
||||
|
||||
#Dont add alias if gdc (GCC D Compiler) is present
|
||||
command -v gdc >/dev/null 2>&1 || {
|
||||
alias gdc='git diff --cached'
|
||||
}
|
||||
|
||||
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
||||
gdv() { git diff -w "$@" | view - }
|
||||
compdef _git gdv=git-diff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue