Skip to content
Discussion options

You must be logged in to vote

I think this is probably Konsole’s hyperlink/path detection rather than ripgrep itself.

rg --hidden should print matches from hidden files/directories normally. If the output contains a path like:

.hidden/file.txt:12:matched text

and Konsole does not turn that into a clickable link, then the terminal emulator is probably failing to recognize paths that start with .. ripgrep is just printing text; the clickable editor link is added by Konsole.

One workaround to test is forcing paths to include ./:

rg --hidden --no-heading --no-line-number --color=never 'search string' ./

so the output becomes more like:

./.hidden/file.txt:12:matched text

That may be easier for Konsole to recognize than a…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by the-ge
Comment options

You must be logged in to vote
1 reply
@BurntSushi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants