From f1a43daa36efdbf5c75dbc07927310b25259a114 Mon Sep 17 00:00:00 2001 From: ncanceill Date: Fri, 12 Jun 2015 11:50:30 +0200 Subject: [PATCH] =?UTF-8?q?git=20plugin:=20new/changed=20aliases=20gaa=20w?= =?UTF-8?q?as=20brought=20back=20by=20popular=20demand=20=E2=80=94=20see?= =?UTF-8?q?=20#3535=20gap=20was=20replaced=20with=20gapa=20=E2=80=94=20see?= =?UTF-8?q?=20#3682=20gdc=20was=20replaced=20with=20gdca=20=E2=80=94=20see?= =?UTF-8?q?=20#3977?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/git/git.plugin.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 5cceb8d25..d59e0ca9f 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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' @@ -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