Config and Shell Integration/Ignore the config for one invocation

Run ripgrep without loading config defaults.

Section: Config files

Ignore the config for one invocation

bash
bash
rg --no-config 'token' .
Explanation

This is useful when debugging an alias or a surprising default behavior.

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 Config files
Point ripgrep at a config file
Set a path that ripgrep reads for default arguments.
OpenIn sheetbashsame section
Sample ripgrep config contents
Example settings for smart case and hidden files.
OpenIn sheettxtsame section
Define a custom type in config
Persist custom type mappings across sessions.
OpenIn sheettxtsame section
Debug config-driven behavior
Inspect the effective path filtering and search decisions.
OpenIn sheetbashsame section
Search tracked files only
Restrict ripgrep to files known to git.
OpenIn sheetbash1 tag match
Emit vimgrep-style results
Print `file:line:column:text` output for editors.
OpenIn sheetbash1 tag match