make gl alias pass args through to git log

This commit is contained in:
Sami Samhuri 2017-09-04 14:42:37 -07:00
parent 0f7b654991
commit e392a4b936
No known key found for this signature in database
GPG key ID: F76F41F04D99808F

2
zshrc
View file

@ -254,7 +254,7 @@ if command_exists git; then
alias t='git tag' alias t='git tag'
function gl() { 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 fi