File: diff.fish

package info (click to toggle)
fish 4.2.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 35,980 kB
  • sloc: python: 6,972; javascript: 1,407; sh: 1,009; xml: 411; ansic: 230; objc: 78; makefile: 20
file content (7 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
# localization: skip(uses-apropos)
# 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