zc-workstationDocumentation PDF GitHub

fd and ripgrep

fd and ripgrep, fast find and grep that respect .gitignore.

.md

fd finds files by name and ripgrep finds text inside them. Both skip what .gitignore ignores and are many times faster than find and grep, which matters in large repositories.

On the workstation

  • Installed by the fd and ripgrep formulae.

  • rg is aliased to rg --smart-case: lowercase searches ignore case, mixed case does not.

Keys and commands

Key or command Does

fd name

Find files whose name matches

rg text

Search the repository for text

Edit this page Last updated

Keyboard shortcuts

Ctrl/⌘ K or /
Search the docs
↑ ↓ Enter
Move through the search results
← →
Previous or next page
f
Filter the pages in the sidebar
g h
Home
t
Cycle the theme
?
This list
Esc
Close a menu or the search results