mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 10:51:41 +00:00
[#149] Simplify diff, wdiff, make
This commit is contained in:
@ -5,17 +5,13 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
if zstyle -t ':omz:module:utility:make' color; then
|
||||
function make {
|
||||
function make {
|
||||
if zstyle -t ':omz:module:utility:make' color; then
|
||||
if (( $+commands[colormake] )); then
|
||||
colormake "$@"
|
||||
else
|
||||
"$commands[make]" "$@"
|
||||
fi
|
||||
}
|
||||
else
|
||||
unfunction make
|
||||
fi
|
||||
|
||||
make "$@"
|
||||
else
|
||||
command make "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user