tests: Remove unused colordiff function

This commit is contained in:
Fabian Homborg 2021-01-01 14:18:17 +01:00
parent 57d23c390b
commit 164a5ebe81

View file

@ -125,21 +125,6 @@ function say -V suppress_color
end
end
function colordiff -d 'Colored diff output for unified diffs'
diff $argv | while read -l line
switch $line
case '+*'
say green $line
case '-*'
say red $line
case '@*'
say cyan $line
case '*'
echo $line
end
end
end
# lame timer
for program in {g,}date
if command -q $program && $program --version 1>/dev/null 2>/dev/null