Browse Source

Copy batdiff function from git hub page

Does not work ...

[GitHub Bat page](https://github.com/sharkdp/bat)
DricomDragon 4 năm trước cách đây
mục cha
commit
3145e061e7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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