mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
6 lines
193 B
Fish
6 lines
193 B
Fish
# Use colours in diff output, if supported
|
|
if command -vq diff; and command diff --color=auto /dev/null{,} >/dev/null 2>&1
|
|
function diff
|
|
command diff --color=auto $argv
|
|
end
|
|
end
|