We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I am trying to search all files only in current directory (non-recursive)
Run command:
$ rga --max-depth=0 --files-with-matches "cognitive distortion" rg: No files were searched, which means ripgrep probably applied a filter you didn't expect. Running with --debug will show why files are being skipped. $ rga --max-depth=0 --files-with-matches "cognitive distortion" --debug [2024-02-06T18:52:03Z DEBUG ripgrep_all::config] rga (our) args: ["rga"] [2024-02-06T18:52:03Z DEBUG ripgrep_all::config] Configs: /home/ismail/.config/ripgrep-all/config.jsonc: { "$schema": "./config.v1.schema.json", "custom_adapters": [] } RGA_CONFIG: {} Args: {} Merged: { "$schema": "./config.v1.schema.json", "custom_adapters": [] } [2024-02-06T18:52:03Z DEBUG ripgrep_all::config] rga (passthrough) args: ["--max-depth=0", "--files-with-matches", "cognitive distortion", "--debug"] [2024-02-06T18:52:03Z DEBUG ripgrep_all::adapters] Chosen available adapters: pandoc,poppler,postprocpagebreaks,ffmpeg,zip,decompress,tar,sqlite [2024-02-06T18:52:03Z DEBUG rga] rg command to run: "rg" "--no-line-number" "--smart-case" "--pre" "/home/ismail/.dotfiles/.cargo/bin/rga-preproc" "--pre-glob" "*.{epub,EPUB,odt,ODT,docx,DOCX,fb2,FB2,ipynb,IPYNB,pdf,PDF,asciipagebreaks,ASCIIPAGEBREAKS,mkv,MKV,mp4,MP4,avi,AVI,mp3,MP3,ogg,OGG,flac,FLAC,zip,ZIP,jar,JAR,tgz,TGZ,tbz,TBZ,tbz2,TBZ2,gz,GZ,bz2,BZ2,xz,XZ,zst,ZST,tar,TAR,db,DB,db3,DB3,sqlite,SQLITE,sqlite3,SQLITE3}" "--max-depth=0" "--files-with-matches" "cognitive distortion" "--debug" rg: DEBUG|rg::flags::parse|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/parse.rs:97: no extra arguments found from configuration file rg: DEBUG|rg::flags::hiargs|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/hiargs.rs:1099: using heuristics to determine whether to read from stdin or search ./ (is_readable_stdin=false, stdin_consumed=false, mode=Search(FilesWithMatches)) rg: DEBUG|rg::flags::hiargs|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/hiargs.rs:1109: heuristic chose to search ./ rg: DEBUG|rg::flags::hiargs|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/hiargs.rs:1260: found hostname for hyperlink configuration: debian rg: DEBUG|rg::flags::hiargs|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/hiargs.rs:1270: hyperlink format: "" rg: DEBUG|globset|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/globset-0.4.14/src/lib.rs:448: glob converted to regex: Glob { glob: "**/*.{epub,EPUB,odt,ODT,docx,DOCX,fb2,FB2,ipynb,IPYNB,pdf,PDF,asciipagebreaks,ASCIIPAGEBREAKS,mkv,MKV,mp4,MP4,avi,AVI,mp3,MP3,ogg,OGG,flac,FLAC,zip,ZIP,jar,JAR,tgz,TGZ,tbz,TBZ,tbz2,TBZ2,gz,GZ,bz2,BZ2,xz,XZ,zst,ZST,tar,TAR,db,DB,db3,DB3,sqlite,SQLITE,sqlite3,SQLITE3}", re: "(?-u)^(?:/?|.*/)[^/]*\\.(?:SQLITE3|sqlite3|SQLITE|sqlite|DB3|db3|DB|db|TAR|tar|ZST|zst|XZ|xz|BZ2|bz2|GZ|gz|TBZ2|tbz2|TBZ|tbz|TGZ|tgz|JAR|jar|ZIP|zip|FLAC|flac|OGG|ogg|MP3|mp3|AVI|avi|MP4|mp4|MKV|mkv|ASCIIPAGEBREAKS|asciipagebreaks|PDF|pdf|IPYNB|ipynb|FB2|fb2|DOCX|docx|ODT|odt|EPUB|epub)$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('S'), Literal('Q'), Literal('L'), Literal('I'), Literal('T'), Literal('E'), Literal('3')]), Tokens([Literal('s'), Literal('q'), Literal('l'), Literal('i'), Literal('t'), Literal('e'), Literal('3')]), Tokens([Literal('S'), Literal('Q'), Literal('L'), Literal('I'), Literal('T'), Literal('E')]), Tokens([Literal('s'), Literal('q'), Literal('l'), Literal('i'), Literal('t'), Literal('e')]), Tokens([Literal('D'), Literal('B'), Literal('3')]), Tokens([Literal('d'), Literal('b'), Literal('3')]), Tokens([Literal('D'), Literal('B')]), Tokens([Literal('d'), Literal('b')]), Tokens([Literal('T'), Literal('A'), Literal('R')]), Tokens([Literal('t'), Literal('a'), Literal('r')]), Tokens([Literal('Z'), Literal('S'), Literal('T')]), Tokens([Literal('z'), Literal('s'), Literal('t')]), Tokens([Literal('X'), Literal('Z')]), Tokens([Literal('x'), Literal('z')]), Tokens([Literal('B'), Literal('Z'), Literal('2')]), Tokens([Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('G'), Literal('Z')]), Tokens([Literal('g'), Literal('z')]), Tokens([Literal('T'), Literal('B'), Literal('Z'), Literal('2')]), Tokens([Literal('t'), Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('T'), Literal('B'), Literal('Z')]), Tokens([Literal('t'), Literal('b'), Literal('z')]), Tokens([Literal('T'), Literal('G'), Literal('Z')]), Tokens([Literal('t'), Literal('g'), Literal('z')]), Tokens([Literal('J'), Literal('A'), Literal('R')]), Tokens([Literal('j'), Literal('a'), Literal('r')]), Tokens([Literal('Z'), Literal('I'), Literal('P')]), Tokens([Literal('z'), Literal('i'), Literal('p')]), Tokens([Literal('F'), Literal('L'), Literal('A'), Literal('C')]), Tokens([Literal('f'), Literal('l'), Literal('a'), Literal('c')]), Tokens([Literal('O'), Literal('G'), Literal('G')]), Tokens([Literal('o'), Literal('g'), Literal('g')]), Tokens([Literal('M'), Literal('P'), Literal('3')]), Tokens([Literal('m'), Literal('p'), Literal('3')]), Tokens([Literal('A'), Literal('V'), Literal('I')]), Tokens([Literal('a'), Literal('v'), Literal('i')]), Tokens([Literal('M'), Literal('P'), Literal('4')]), Tokens([Literal('m'), Literal('p'), Literal('4')]), Tokens([Literal('M'), Literal('K'), Literal('V')]), Tokens([Literal('m'), Literal('k'), Literal('v')]), Tokens([Literal('A'), Literal('S'), Literal('C'), Literal('I'), Literal('I'), Literal('P'), Literal('A'), Literal('G'), Literal('E'), Literal('B'), Literal('R'), Literal('E'), Literal('A'), Literal('K'), Literal('S')]), Tokens([Literal('a'), Literal('s'), Literal('c'), Literal('i'), Literal('i'), Literal('p'), Literal('a'), Literal('g'), Literal('e'), Literal('b'), Literal('r'), Literal('e'), Literal('a'), Literal('k'), Literal('s')]), Tokens([Literal('P'), Literal('D'), Literal('F')]), Tokens([Literal('p'), Literal('d'), Literal('f')]), Tokens([Literal('I'), Literal('P'), Literal('Y'), Literal('N'), Literal('B')]), Tokens([Literal('i'), Literal('p'), Literal('y'), Literal('n'), Literal('b')]), Tokens([Literal('F'), Literal('B'), Literal('2')]), Tokens([Literal('f'), Literal('b'), Literal('2')]), Tokens([Literal('D'), Literal('O'), Literal('C'), Literal('X')]), Tokens([Literal('d'), Literal('o'), Literal('c'), Literal('x')]), Tokens([Literal('O'), Literal('D'), Literal('T')]), Tokens([Literal('o'), Literal('d'), Literal('t')]), Tokens([Literal('E'), Literal('P'), Literal('U'), Literal('B')]), Tokens([Literal('e'), Literal('p'), Literal('u'), Literal('b')])])]) } rg: DEBUG|globset|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/globset-0.4.14/src/lib.rs:453: built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes rg: DEBUG|rg::flags::hiargs|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ripgrep-14.1.0/crates/core/flags/hiargs.rs:174: using 6 thread(s) rg: DEBUG|globset|/home/ismail/.dotfiles/.cargo/registry/src/index.crates.io-6f17d22bba15001f/globset-0.4.14/src/lib.rs:453: built glob set; 0 literals, 0 basenames, 12 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes rg: No files were searched, which means ripgrep probably applied a filter you didn't expect. Running with --debug will show why files are being skipped. [2024-02-06T18:52:03Z DEBUG rga] running rg took 9.17ms
Screenshots If applicable, add screenshots to help explain your problem.
Operating System and Version
Debian 12
Output of rga --version
rga --version
ripgrep-all 1.0.0-alpha.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I am trying to search all files only in current directory (non-recursive)
Run command:
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System and Version
Debian 12
Output of
rga --version
The text was updated successfully, but these errors were encountered: