dotfiles/home/private_bin/executable_git-l

11 lines
264 B
Text
Raw Normal View History

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" \
"$@"