mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-09-06 21:27:32 +00:00
18 lines
274 B
Plaintext
18 lines
274 B
Plaintext
#
|
|
# Highlights diff output.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
function diff {
|
|
if zstyle -t ':prezto:module:utility:diff' color \
|
|
&& (( $+commands[colordiff] )); then
|
|
command colordiff "$@"
|
|
else
|
|
command diff "$@"
|
|
fi
|
|
}
|
|
|
|
diff "$@"
|