Browse Source

Separate colormake from colordiff

master
Sorin Ionescu 13 years ago
parent
commit
8394cc7e25
  1. 9
      modules/alias/init.zsh

9
modules/alias/init.zsh

@ -132,10 +132,15 @@ if zstyle -t ':omz:module:alias:diff' color; then @@ -132,10 +132,15 @@ if zstyle -t ':omz:module:alias:diff' color; then
}
fi
# Make
if zstyle -t ':omz:module:alias:make' color; then
function make {
if (( $+commands[colormake] )); then
alias make='colormake'
compdef colormake=make 2> /dev/null
colormake "$@"
else
"$comamnds[make]" "$@"
fi
}
fi
# Miscellaneous

Loading…
Cancel
Save