Search dotfiles and hidden directories too.
Section: Hidden files and ignore rules
Include hidden files
bash
bash
rg --hidden 'export PATH' ~Explanation
By default, hidden files are skipped to reduce surprise and noise.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Hidden files and ignore rules
Ignore .gitignore and other ignore files
Search everything except hidden/binary defaults.
Disable all automatic filtering
Search hidden, binary, and ignored files.
Use an extra ignore file
Apply additional ignore patterns from a custom file.