mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue