make gl alias pass args through to git log
This commit is contained in:
parent
0f7b654991
commit
e392a4b936
1 changed files with 1 additions and 1 deletions
2
zshrc
2
zshrc
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue