From 617e1caabdf4e6641673dcb97ae51a585a7d7174 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 5 Nov 2013 12:43:07 +0100 Subject: [PATCH] change glg behaviour to oneline --- zsh/aliases/git.zsh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zsh/aliases/git.zsh b/zsh/aliases/git.zsh index f56014d..f7027f3 100644 --- a/zsh/aliases/git.zsh +++ b/zsh/aliases/git.zsh @@ -10,8 +10,6 @@ compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push alias gd='git diff' -gdv() { git diff -w "$@" | view - } -compdef _git gdv=git-diff alias gc='git commit -v' compdef _git gc=git-commit alias gca='git commit -v -a' @@ -40,11 +38,11 @@ compdef gcount=git alias gcl='git config --list' alias gcp='git cherry-pick' compdef _git gcp=git-cherry-pick -alias glg='git log --stat --max-count=20 --decorate' +alias glg='git --no-pager log --oneline --graph --max-count=20 --decorate' compdef _git glg=git-log -alias glgg='git log --graph --max-count=20 --decorate' +alias glgg='git log --stat --graph --max-count=20 --decorate' compdef _git glgg=git-log -alias glgga='git log --graph --decorate --all' +alias glgga='git log --stat --graph --decorate --all' compdef _git glgga=git-log alias gss='git status -s' compdef _git gss=git-status -- 2.48.1