about summary refs log tree commit diff stats
path: root/home-manager/config/git
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-04 08:54:33 +0200
committerSoispha <soispha@vhack.eu>2023-07-04 08:59:28 +0200
commit3641e33025a89fd2c7848ebd898332702d0337e7 (patch)
tree27e187f8c21c3b73d649927856e72f9178b8a113 /home-manager/config/git
parentRefactor(hm/conf/zsh): Use new syntaxHighlight option (diff)
downloadnixos-config-3641e33025a89fd2c7848ebd898332702d0337e7.tar.gz
nixos-config-3641e33025a89fd2c7848ebd898332702d0337e7.zip
Fix(hm/conf/git): Display branch when using git ls
Diffstat (limited to 'home-manager/config/git')
-rw-r--r--home-manager/config/git/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix
index cb67df6a..84e80b45 100644
--- a/home-manager/config/git/default.nix
+++ b/home-manager/config/git/default.nix
@@ -12,7 +12,7 @@ in {
       rs = "restore --staged";
 
       ## Logging:
-      ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN] %C(bold red)<%G?>%C(reset)'";
+      ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN] %C(bold red)<%G?>%C(reset)%C(auto)%d%C(reset)'";
 
       # https://stackoverflow.com/a/61487052
       lg = "lg1";