summaryrefslogtreecommitdiffstats
path: root/manual/src/grep.md
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2022-01-15 18:35:23 -0500
committerDan Davison <dandavison7@gmail.com>2022-01-15 19:27:24 -0500
commit3bf5779a6b04c328da3131d433e83c8d617a0463 (patch)
tree9db078dfa43771634507af80a38c58e86fbd5cbb /manual/src/grep.md
parent1f5ffdc306951de910024d24262dfc0cf63535c6 (diff)
Fix links
Diffstat (limited to 'manual/src/grep.md')
-rw-r--r--manual/src/grep.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/src/grep.md b/manual/src/grep.md
index 00d4ce70..e8d77124 100644
--- a/manual/src/grep.md
+++ b/manual/src/grep.md
@@ -1,7 +1,7 @@
# Grep
Delta applies syntax-highlighting and other enhancements to standard grep output such as from `git grep`, [ripgrep](https://github.com/BurntSushi/ripgrep/) (aka `rg`), grep, etc.
-To use with `git grep`, set delta as the pager for `grep` in the `[pager]` section of your gitconfig. See the example at the [top of the page](#get-started).
+To use with `git grep`, set delta as the pager for `grep` in the `[pager]` section of your gitconfig. See the example at the [top of the page](./get-started.md).
Output from other grep tools can be piped to delta: e.g. `rg -Hn --color=always`, `grep -Hn --color=always`, etc.
To customize the colors and syntax highlighting, see `grep-match-line-style`, `grep-match-word-style`, `grep-contexct-line-style`, `grep-file-style`, `grep-line-number-style`.
Ripgrep's `rg --json` output format is supported; this avoids certain file name parsing ambiguities that are inevitable with the standard grep output formats.