Per 'git-diff' cli options for delta #1602
-
Hello. My common case is to use delta with line numbers on. Is it possible to funnel arguments to delta via |
Beta Was this translation helpful? Give feedback.
Answered by
raisedadead
Feb 18, 2024
Replies: 2 comments 2 replies
-
Related discussion #944 Here is my solution: You can turn line-numbers off per invocation like so, if you are always having it on in your config.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dandavison
-
Hi @ldelossa and @raisedadead. In addition to what @raisedadead suggested, here's my personal current solution: delta-toggle() {
eval "export DELTA_FEATURES=$(-delta-features-toggle $1 | tee /dev/stderr)"
} where So
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related discussion #944
Here is my solution:
You can turn line-numbers off per invocation like so, if you are always having it on in your config.