diff options
author | Tejinder Singh <35347971+torqu3e@users.noreply.github.com> | 2022-05-05 14:27:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 20:27:52 +0200 |
commit | 52bab63e188b3dbd680c5e50054398fe61521a2c (patch) | |
tree | 94de28b37c2f36ae6cc87ad6e49146e55f6452d6 | |
parent | 0851bbbb28107c41219168ffce0ba2c3863dde4b (diff) |
Add `--relative` to `batdiff` in README.md (#2172)
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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). |