prezto_config/modules/utility/functions/make
2012-06-10 20:04:55 -04:00

21 lines
307 B
Text

#
# 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 "$@"