From e392a4b936b9f80ea51e253e9fbc6cd16171fe0c Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 4 Sep 2017 14:42:37 -0700 Subject: [PATCH] make gl alias pass args through to git log --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 655ca03..b6e611b 100755 --- a/zshrc +++ b/zshrc @@ -254,7 +254,7 @@ if command_exists git; then alias t='git tag' function gl() { - git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' + git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' "$@" } fi