Fish: Prohibit infinity loop if colordiff is not available

This commit is contained in:
Marcel Kapfer 2019-06-11 17:13:56 +02:00
parent 65b2c32d0f
commit adcf21f04c
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@
function diff --wraps diff --description "Use colordiff instead of diff, if available"
if type -q colordiff
colordiff $argv
/usr/bin/colordiff $argv
else
diff $argv
/usr/bin/diff $argv
end
end