I have zsh with oh-my-zsh, I added an alias to color the make output using

alias make="colourify make"

but when I use it, make autocompletion does not work anymore. If I use unalias make, the make autocompletion works anew,

how can I force the make autocompletion to work on the alias?


As a work-around, try using a shell function instead:

make () {
    colourify make "$@"

The same completions will apply to your function as to the "real" make command, but your function will then take care of calling colourify with the given options.

  • This worked, but I had to replace the alias to colourify itself by a function:) – oulipo May 13 '13 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.