summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2019-10-29 13:20:35 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2019-10-30 19:47:37 +0100
commit3f37d292ec69dfbcb7334c228a3fb69ed9f3a5dd (patch)
treea029819711f7c988dedd65864af53d65d1359f92 /README.md
parent0a42d2b89788956345c7979803498a9571e8c36a (diff)
Point to delta in usage-with-git section of README
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 837076f1..e50756df 100644
--- a/README.md
+++ b/README.md
@@ -122,7 +122,7 @@ tail -f /var/log/pacman.log | bat --paging=never -l log
Note that we have to switch off paging in order for this to work. We have also specified the syntax
explicitly (`-l log`), as it can not be auto-detected in this case.
-#### `git show`
+#### `git`
You can combine `bat` with `git show` to view an older version of a given file with proper syntax
highlighting:
@@ -130,6 +130,8 @@ highlighting:
git show v0.6.0:src/main.rs | bat -l rs
```
+Note that syntax highlighting within diffs is currently not supported. If you are looking for this, check out [delta](https://github.com/dandavison/delta).
+
#### `xclip`
The line numbers and Git modification markers in the output of `bat` can make it hard to copy