mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-30 14:43:57 +00:00
Make batdiff more portable
This commit is contained in:
@@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user