1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Make batdiff more portable

This commit is contained in:
Binbin Qian
2025-08-03 01:00:43 +08:00
committed by Keith Hall
parent 4c2b20fedd
commit bd782ab228
4 changed files with 4 additions and 4 deletions

View File

@@ -163,7 +163,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
}
```
이것을 별도의 도구로 쓰고 싶다면