1
0
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:
Sorin Ionescu
2012-06-03 17:53:02 -04:00
parent 45ab153c64
commit 761ba12813
3 changed files with 20 additions and 32 deletions

View File

@ -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
}