Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Delta on Windows doesn't use .gitconfig file #1643

Closed
ErrrorMaxx opened this issue Feb 29, 2024 · 1 comment
Closed

馃悰 Delta on Windows doesn't use .gitconfig file #1643

ErrrorMaxx opened this issue Feb 29, 2024 · 1 comment

Comments

@ErrrorMaxx
Copy link

Running delta --show-config from inside of git via git config --global --replace-all core.pager 'delta --show-config' and git diff commands:
image

But running plain delta --show-config results in default config used (and bad green colors):
image

In second case neither %USERPROFILE%/.config/git/config or %USERPROFILE%/.gitconfig are used

I have installed most recent versions of Git for Windows, delta and less:

$ git --version
git version 2.44.0.windows.1

$ delta --version
delta 0.16.5

$ less --version
less 643 (Spencer V8 regular expressions)
@ErrrorMaxx
Copy link
Author

I found where I was wrong: it actually reads .gitconfig, but renders wrong colors because there is no COLORTERM=truecolor environment variable defined and delta fallbacks to 256-colors palette

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant