You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use difft to show the difference inside fzf. In the previous script, it showed colors but not in difft. However, when I used 'git show', it displayed correctly. What's wrong with it?
That's because difftastic, like many CLI tools, disables colored output by default when the output is redirected somewhere other than a terminal.
I've been configuring something similar for myself over the past couple of days so I can tell you it works for sure with this bit of git configuration:
[diff]external = difft --color=always
I'd assume you can do the same thing through the environment variable GIT_EXTERNAL_DIFF=difft --color=always but I haven't tested it.
I tried to use difft to show the difference inside fzf. In the previous script, it showed colors but not in difft. However, when I used 'git show', it displayed correctly. What's wrong with it?
previous script
using difftastic
difftastic version
The text was updated successfully, but these errors were encountered: