about summary refs log tree commit diff
path: root/xlg
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2024-04-27 10:48:19 -0400
committerLeah Neukirchen <leah@vuxu.org>2024-04-27 17:41:35 +0200
commit3d95c314f4a12d163e3e8e0cdcaba2f621b6c90b (patch)
treee92818d4b85608edc1cbcc6cc9126ea96b3f8a71 /xlg
parent7adbc887d6697c9795d16d73650bee32ce827745 (diff)
downloadxtools-3d95c314f4a12d163e3e8e0cdcaba2f621b6c90b.tar.gz
xtools-3d95c314f4a12d163e3e8e0cdcaba2f621b6c90b.tar.xz
xtools-3d95c314f4a12d163e3e8e0cdcaba2f621b6c90b.zip
xlg: add automatic colours
only applies on ttys, and i think should respect user preferences
Diffstat (limited to 'xlg')
-rwxr-xr-xxlg2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlg b/xlg
index 8e59cf4..8a25fd0 100755
--- a/xlg
+++ b/xlg
@@ -2,4 +2,4 @@
 # xlg PKG - open short commit log for XBPS template
 
 cd $(xdistdir)/srcpkgs &&
-git log --date=short --pretty='%cd %h%d %aE: %s' -- "$@"
+git log --date=short --pretty='%C(auto)%cd %h%d %aE: %s' -- "$@"