Open haizaar opened 1 year ago
I don't think it's the nix package, as I'm using 23.05 (amd64) as well and --git
works fine. The unstable channel build is built from more recent commits, so has this issue.
@eggbean can you please share how you invoke exa?
I alias ls
to this wrapper script, but it also works directly:
Thank you. I did further tests and noticed it's working when run in clean environment. So after bisecting, I found that if HOME
variable is set, then git status is not shown :thinking:. I'm quite puzzled now...
Any ideas besides wrapping it to drop HOME
on the package level?
Turns out the problem is with the multi-line config values in git config files. My git configuration files include definitions of delta them like here and these multi line values break exa --git
, despite being officially supported by git
This is weird, it may be an issue in libgit2… Does this happens with the active fork eza?
I'm using exa v0.10.1 with git on NixOS 23.05 amd64:
However it doesn't display any git statuses. Running strace I can see it inspects local
.git
dir as well as user/glocal git config files but still no output comes up. Any ideas?