1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

fix(git)!: rename gdu alias to gdup (#10263)

BREAKING CHANGE: the `gdu` alias has been renamed to `gdup` to avoid a
conflict with `go disk usage` (https://github.com/dundee/gdu).
This commit is contained in:
Carlo Sala 2021-10-06 10:13:38 +02:00 committed by GitHub
parent 63b7e5767d
commit bf7c1b160d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ plugins=(... git)
| gds | git diff --staged | | gds | git diff --staged |
| gdt | git diff-tree --no-commit-id --name-only -r | | gdt | git diff-tree --no-commit-id --name-only -r |
| gdnolock | git diff $@ ":(exclude)package-lock.json" ":(exclude)*.lock" | | gdnolock | git diff $@ ":(exclude)package-lock.json" ":(exclude)*.lock" |
| gdu | git diff @{u} | | gdup | git diff @{upstream} |
| gdv | git diff -w $@ \| view - | | gdv | git diff -w $@ \| view - |
| gdw | git diff --word-diff | | gdw | git diff --word-diff |
| gf | git fetch | | gf | git fetch |

View file

@ -126,7 +126,7 @@ alias gdcw='git diff --cached --word-diff'
alias gdct='git describe --tags $(git rev-list --tags --max-count=1)' alias gdct='git describe --tags $(git rev-list --tags --max-count=1)'
alias gds='git diff --staged' alias gds='git diff --staged'
alias gdt='git diff-tree --no-commit-id --name-only -r' alias gdt='git diff-tree --no-commit-id --name-only -r'
alias gdu='git diff @{u}' alias gdup='git diff @{upstream}'
alias gdw='git diff --word-diff' alias gdw='git diff --word-diff'
function gdnolock() { function gdnolock() {