ripgrep

Installs ripgrep (rg), a fast line-oriented search tool that respects .gitignore.

Current version: 0.1.1 | ripgrep on GitHub

Usage

"features": {
  "ghcr.io/devopsbuildingblocks/devcontainer-features/ripgrep:0": {}
}

With options:

"ghcr.io/devopsbuildingblocks/devcontainer-features/ripgrep:0": {
  "theme": "none",
  "smartCase": false
}

Options

OptionTypeDefaultDescription
versionstringlatestripgrep version to install
themestringdb2Color theme (none or db2)
smartCasebooleantrueCase-insensitive unless pattern has uppercase
enableAliasesbooleantrueAdd useful rg aliases

Shell integration

When enableAliases=true:

AliasDescription
rgiCase-insensitive search
rgfSearch filenames only
rghInclude hidden files