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
|
||||||
|
|
||||||
|
# Make
|
||||||
|
if zstyle -t ':omz:module:alias:make' color; then
|
||||||
|
function make {
|
||||||
if (( $+commands[colormake] )); then
|
if (( $+commands[colormake] )); then
|
||||||
alias make='colormake'
|
colormake "$@"
|
||||||
compdef colormake=make 2> /dev/null
|
else
|
||||||
|
"$comamnds[make]" "$@"
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
|
Reference in New Issue
Block a user