dotfiles/home/private_bin/executable_git-l

11 lines
278 B
Text
Raw Permalink Normal View History

2024-08-06 11:30:25 -05:00
#!/usr/bin/env bash
2024-08-16 14:04:31 -05:00
PREFIX='%C(bold magenta)%h%C(reset)%C(auto)%d%C(reset)' # hash, decorate
SUFFIX='%C(dim white) %aN%C(reset) %C(green) %ar%C(reset)' #author, time
format="$PREFIX %C(bold)󰍥 %s%C(reset) $SUFFIX"
2024-08-06 11:30:25 -05:00
exec git \
log \
--format=tformat:"$format" \
"$@"