zsh: sequence of options matter.
I have been suggested that zsh is the ultimate shell that is ever needed. So I gave it a shot for months. At first, I was quite impressed of it’s completion on make targets, until I encountered two commands: rpm and yum, which were painfully slow.
I was looking for the script/hack/template that can speed up the rpm completion, but no prevail. I also wonder why nobody bother to fix it.
Today, I was going to give up zsh and turn to bash+ bash-completion, as that combination actually fit surprising good to my working style (but I still miss tcsh-like completion). Suddenly, I realize that sequence of options might be the key. So I try to use
which I always use.
And ta-da, it works.