Skip to content

Commit

Permalink
git plugin: new/changed aliases
Browse files Browse the repository at this point in the history
gaa was brought back by popular demand — see ohmyzsh#3535
gap was replaced with gapa — see ohmyzsh#3682
gdc was replaced with gdca — see ohmyzsh#3977
  • Loading branch information
ncanceill authored and fforw committed Feb 5, 2016
1 parent 0387d94 commit cb443a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/git/git.plugin.zsh
Expand Up @@ -48,6 +48,8 @@ function work_in_progress() {
alias g='git'

alias ga='git add'
alias gaa='git add --all'
alias gapa='git add --patch'

alias gb='git branch'
alias gba='git branch -a'
Expand Down Expand Up @@ -79,7 +81,7 @@ alias gcp='git cherry-pick'
alias gcs='git commit -S'

alias gd='git diff'
alias gdc='git diff --cached'
alias gdca='git diff --cached'
alias gdt='git diff-tree --no-commit-id --name-only -r'
gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff
Expand Down

0 comments on commit cb443a0

Please sign in to comment.