mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 06:24:01 +00:00
tests: Remove unused colordiff function
This commit is contained in:
parent
57d23c390b
commit
164a5ebe81
1 changed files with 0 additions and 15 deletions
|
@ -125,21 +125,6 @@ function say -V suppress_color
|
||||||
end
|
end
|
||||||
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
|
# lame timer
|
||||||
for program in {g,}date
|
for program in {g,}date
|
||||||
if command -q $program && $program --version 1>/dev/null 2>/dev/null
|
if command -q $program && $program --version 1>/dev/null 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue