From a3744d984971676c0ac98e2bfc5a519bcbe322a4 Mon Sep 17 00:00:00 2001 From: Filidor Wiese Date: Sat, 11 Feb 2017 14:32:17 +0100 Subject: [PATCH 1/2] Adds --show-signature to git log aliases For GPG users, it's nice to have the `--show-signature` flag added to the git log aliases --- plugins/git/git.plugin.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 34942d387..f33cfd02f 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -168,11 +168,11 @@ alias gke='\gitk --all $(git log -g --pretty=%h)' compdef _git gke='gitk' alias gl='git pull' -alias glg='git log --stat' -alias glgp='git log --stat -p' -alias glgg='git log --graph' -alias glgga='git log --graph --decorate --all' -alias glgm='git log --graph --max-count=10' +alias glg='git log --show-signature --stat' +alias glgp='git log --show-signature --stat -p' +alias glgg='git log --show-signature --graph' +alias glgga='git log --show-signature --graph --decorate --all' +alias glgm='git log --show-signature --graph --max-count=10' alias glo='git log --oneline --decorate' alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all" From 20f8e2a3c8f928e85d3d54c5544b35fc75d7b9ea Mon Sep 17 00:00:00 2001 From: Filidor Wiese Date: Sat, 11 Feb 2017 16:17:27 +0100 Subject: [PATCH 2/2] Adds GPG signature key to glol and glola aliases --- plugins/git/git.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index f33cfd02f..4086fef25 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -174,8 +174,8 @@ alias glgg='git log --show-signature --graph' alias glgga='git log --show-signature --graph --decorate --all' alias glgm='git log --show-signature --graph --max-count=10' alias glo='git log --oneline --decorate' -alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" -alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all" +alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %GK%Creset' --abbrev-commit" +alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %GK%Creset' --abbrev-commit --all" alias glog='git log --oneline --decorate --graph' alias gloga='git log --oneline --decorate --graph --all' alias glp="_git_log_prettily"