2024-08-06 11:30:25 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2024-08-10 18:28:10 -05:00
|
|
|
PREFIX='%C(bold magenta)%h%C(reset)' # hash
|
|
|
|
SUFFIX='%C(auto)%d%C(reset) %C(dim white)%aN%C(reset)|%C(green)%ar%C(reset)' # branch, author, time
|
|
|
|
format="$PREFIX %C(bold)%s%C(reset)$SUFFIX"
|
2024-08-06 11:30:25 -05:00
|
|
|
|
|
|
|
exec git \
|
|
|
|
log \
|
|
|
|
--format=tformat:"$format" \
|
|
|
|
"$@"
|