]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Shorter date format
authorSergey Matveev <stargrave@stargrave.org>
Thu, 10 Nov 2022 09:00:52 +0000 (12:00 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 10 Nov 2022 09:00:52 +0000 (12:00 +0300)
git/.zsh/rc/010git.zsh

index 935a17b8552d1d07c8e7fca79832c38355b82f72..3301f42edff4cccd26dca97a44a6a42f5ce45fe7 100644 (file)
@@ -6,7 +6,7 @@ alias Gdc="git diff --cached"
 alias gg="git grep "
 alias ggj="GIT_EDITOR=\"$EDITOR -c copen\" git jump grep "
 alias Gl="git log --oneline --graph --decorate=short"
-alias Gld="git log --format=format:'%ai %Cgreen%h%Creset %s'"
+alias Gld="git log --date=format:'%F %R' --pretty=format:'%ad %C(auto)%h %s'"
 alias Gp="git log --patch"
 alias Gs="git show --show-signature"
 bindkey -s "\eOR" " git status --short\n" # F3