Posted Apr 10, 2009 13:01 UTC (Fri) by TRS-80 (subscriber, #1804)
[Link]
It's /usr/bin/rm, the magic is in zsh's globbing which detects rm and * in the same command.
Shortening the rope
Posted Apr 14, 2009 11:58 UTC (Tue) by hppnq (guest, #14462)
[Link]
Ah, thanks. What a horrible feature. A shining example of what Eric Allman -- no stranger to, err, dodgy stuff -- must have meant with his somewhat leaky screwdriver. ;-)
(There actually is a zsh module that adds an alternative rm, but it has nothing to do with this perverse behaviour.)