소스 검색

Copy batdiff function from git hub page

Does not work ...

[GitHub Bat page](https://github.com/sharkdp/bat)
DricomDragon 4 년 전
부모
커밋
3145e061e7
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Install/Templates/config/fish/functions/batdiff.fish

+ 3 - 0
Install/Templates/config/fish/functions/batdiff.fish

@@ -0,0 +1,3 @@
+function batdiff --description 'Git diff powered by Bat Cat'
+	git diff --name-only --diff-filter=d | xargs bat --diff
+end