mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 03:27:59 +00:00
22 lines
307 B
Plaintext
22 lines
307 B
Plaintext
|
#
|
||
|
# Highlights make output.
|
||
|
#
|
||
|
# Authors:
|
||
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||
|
#
|
||
|
|
||
|
if zstyle -t ':omz:module:utility:make' color; then
|
||
|
function make {
|
||
|
if (( $+commands[colormake] )); then
|
||
|
colormake "$@"
|
||
|
else
|
||
|
"$commands[make]" "$@"
|
||
|
fi
|
||
|
}
|
||
|
else
|
||
|
unfunction make
|
||
|
fi
|
||
|
|
||
|
make "$@"
|
||
|
|