Closed uloco closed 1 year ago
I'm struggling to find a way to set the delta theme. I have two different delta themes for light and dark mode. My git config looks like this:
[core] editor = nvim pager = delta --features "$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo dark-mode || echo light-mode)" [delta "dark-mode"] dark = true syntax-theme = bluloco-dark ; additional theme stuff below ; ... ; ... [delta "light-mode"] light = true syntax-theme = bluloco-light ; additional theme stuff below ; ... ; ...
My delta theme is set correctly in git but I don't know how to theme the output of sad. Is there any way to do this right now?
sad
I needed to set the theme in the GIT_PAGER environment variable, because sad would not use the default from git core.pager config value.
GIT_PAGER
core.pager
I'm struggling to find a way to set the delta theme. I have two different delta themes for light and dark mode. My git config looks like this:
My delta theme is set correctly in git but I don't know how to theme the output of
sad
. Is there any way to do this right now?