mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 10:51:41 +00:00
[#149] Move diff, wdiff, make into their own files
This commit is contained in:
21
modules/utility/functions/make
Normal file
21
modules/utility/functions/make
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
# 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 "$@"
|
||||
|
Reference in New Issue
Block a user