From 05902b7461527f0fe262fe320b9c053bba0e784d Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sun, 21 Nov 2021 11:42:21 +0000 Subject: [PATCH] refactor(shell): update gl alias This will now display the date and author of the commit in the one line log --- site-modules/core/files/oh-my-zsh/custom/git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-modules/core/files/oh-my-zsh/custom/git.zsh b/site-modules/core/files/oh-my-zsh/custom/git.zsh index 7f6408a..dd5206d 100644 --- a/site-modules/core/files/oh-my-zsh/custom/git.zsh +++ b/site-modules/core/files/oh-my-zsh/custom/git.zsh @@ -2,7 +2,7 @@ source $ZSH/lib/git.zsh alias gcon="git diff --name-only --diff-filter=U" alias gml="git merge --log" -alias gl="git --no-pager log --oneline --reverse --max-count=40" +alias gl="git --no-pager log --format=\"%C(red)%h%Creset %s %Cgreen(%cr)%Creset %C(bold blue)<%an>%Creset\" --reverse --max-count=40" alias gap="git add -p" alias gs="gss"