News for hackers. Stuff that matters.
Re:Ack is a grep-like tool, optimised for programmers by llimllib on Wednesday May 07, 2014 @11:14AM (#7710603)
I have that aliased to 'cack'. Then ruby is 'rack', python is 'pack', go is 'gack', etc.

(I've never needed to use the rackup "rack" command directly, fortunately, if you do you ought to use a different alias)

Re:Ack is a grep-like tool, optimised for programmers by irahul on Wednesday May 07, 2014 @11:45AM (#7710794)
> I've never needed to use the rackup "rack" command directly, fortunately, if you do you ought to use a different alias

Or escape alias \rack

Re:Ack is a grep-like tool, optimised for programmers by alxndr on Wednesday May 07, 2014 @06:22PM (#7712960)
or $(which rack)
Re:Ack is a grep-like tool, optimised for programmers by alxndr on Wednesday May 07, 2014 @10:08PM (#7713623)
Hm, I've recently begun using zsh primarily and this trick doesn't work there: zsh lets you know what the alias is... bash will happily find `rack` in your `$PATH` and then run it.

(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.)

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...
Re:Ack is a grep-like tool, optimised for programmers by alxndr on Thursday May 15, 2014 @05:00PM (#7752209)
Lovely, thanks!