Re:Ack is a grep-like tool, optimised for programmers
by mhei on Thursday May 08, 2014 @02:45AM
(#7714190)
If you have the EQUALS option set (by default it is), you can use =rack instead: http://zsh.sourceforge.net/Doc/Release/Expansion.html#g_t_00...
(Presumably because in zsh, `which which` says it's a shell built-in, whereas in bash it finds `/usr/bin/which`, so bash doesn't seem to be caring about your aliases.)