How to make ripgrep display the completed content of the searched results #2688
-
when i use ripgrep to find ,it return to me |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The If you re-run your command with |
Beta Was this translation helpful? Give feedback.
The
[... 0 more matches]
is appearing because ripgrep is trimming a long line. This is not default behavior. You had to opt into it. Either you're passing the-M/--max-columns
flag explicitly, or you have it in an alias, shell function, wrapper script or a ripgrep config file.If you re-run your command with
--debug
, then it should show any arguments loaded from a config file. Otherwise, try runningwhich rg
to see whether it's an alias or a shell function or a wrapper script that's inserting the extra argument.