I'm not a huge fan of this change, as I've made it known. However, this is semi-recommended by the style guide we've chosen to use and is a more common syntax. Fixes #692.
20 lines
303 B
Text
20 lines
303 B
Text
#
|
|
# Highlights make output.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
make() {
|
|
if zstyle -t ':prezto:module:utility:make' color; then
|
|
if (( $+commands[colormake] )); then
|
|
colormake "$@"
|
|
else
|
|
command make "$@"
|
|
fi
|
|
else
|
|
command make "$@"
|
|
fi
|
|
}
|
|
|
|
make "$@"
|