From 0b5a14b759ad3d405570a746a51c7fa5249960ad Mon Sep 17 00:00:00 2001 From: "tanguy@aristotle" Date: Sat, 1 Aug 2020 22:17:47 +0200 Subject: [PATCH] Add alias for fancy git graph --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 88bcf51..7490b7a 100644 --- a/.zshrc +++ b/.zshrc @@ -160,3 +160,5 @@ alias pac='sudo pacman -S' # When opening top, use ytop with CPU core details alias top="ytop -p" + +alias gitg='git log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"'