Make batdiff more portable

This commit is contained in:
Binbin Qian authored and Keith Hall committed 2025-08-08 05:43:49 +03:00
1 parent 4c2b20fedd
commit bd782ab228
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ git show v0.6.0:src/main.rs | bat -l rs
```bash
batdiff() {
git diff --name-only --diff-filter=d -z | xargs --null bat --diff
git diff --name-only --relative --diff-filter=d -z | xargs -0 bat --diff
}
```