Add `--relative` to `batdiff` in README.md (#2172)

pull/2183/head
Tejinder Singh 2 years ago committed by GitHub
parent 0851bbbb28
commit 52bab63e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -171,7 +171,7 @@ You can combine `bat` with `git diff` to view lines around code changes with pro
highlighting:
```bash
batdiff() {
git diff --name-only --diff-filter=d | xargs bat --diff
git diff --name-only --relative --diff-filter=d | xargs bat --diff
}
```
If you prefer to use this as a separate tool, check out `batdiff` in [`bat-extras`](https://github.com/eth-p/bat-extras).

Loading…
Cancel
Save