dotfiles/home/private_bin/executable_git-l

10 lines
278 B
Bash

#!/usr/bin/env bash
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"
exec git \
log \
--format=tformat:"$format" \
"$@"