Separate colormake from colordiff
This commit is contained in:
parent
8a784c7ec7
commit
8394cc7e25
|
@ -132,10 +132,15 @@ if zstyle -t ':omz:module:alias:diff' color; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $+commands[colormake] )); then
|
# Make
|
||||||
alias make='colormake'
|
if zstyle -t ':omz:module:alias:make' color; then
|
||||||
compdef colormake=make 2> /dev/null
|
function make {
|
||||||
fi
|
if (( $+commands[colormake] )); then
|
||||||
|
colormake "$@"
|
||||||
|
else
|
||||||
|
"$comamnds[make]" "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
|
|
Loading…
Reference in a new issue