2012-06-03 20:16:47 +02:00
|
|
|
#
|
|
|
|
# Highlights make output.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2012-06-03 23:53:02 +02:00
|
|
|
function make {
|
2012-09-03 22:08:39 +02:00
|
|
|
if zstyle -t ':prezto:module:utility:make' color; then
|
2012-06-03 20:16:47 +02:00
|
|
|
if (( $+commands[colormake] )); then
|
|
|
|
colormake "$@"
|
2012-06-13 20:08:57 +02:00
|
|
|
else
|
|
|
|
command make "$@"
|
2012-06-03 20:16:47 +02:00
|
|
|
fi
|
2012-06-03 23:53:02 +02:00
|
|
|
else
|
|
|
|
command make "$@"
|
|
|
|
fi
|
|
|
|
}
|
2012-06-03 20:16:47 +02:00
|
|
|
|
2012-06-13 18:34:06 +02:00
|
|
|
make "$@"
|
|
|
|
|