better g lg

This commit is contained in:
Daylin Morgan 2023-12-18 11:47:16 -06:00
parent 921ed354a1
commit af4c606e75
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -37,7 +37,7 @@ lf = log --graph --format=tformat:'%C(bold yellow)%h%C(reset) %C(cyan)%aD%C(rese
lg = "!f() { x=${1-6};\ lg = "!f() { x=${1-6};\
length=$(expr $x + 8);\ length=$(expr $x + 8);\
git log --color --graph --all \ git log --color --graph --all \
--format=format:\"%>|($length)%C(bold blue)%h%C(reset) %C(bold green)%><(15,trunc)%ar%C(reset) %s %C(black)- %an%C(reset)%C(bold yellow)%d%C(reset)\";\ --format=format:\"%>|($length)%C(bold blue)%h%C(reset) %C(bold green)%><(15,trunc)%ar%C(reset)%C(bold yellow)%d%C(reset) %s - %C(red)%an%C(reset)\";\
};\ };\
f" f"
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi" ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"