Josh Dersch [derschjo at
mail.msu.edu] wrote:
Well, that and the fact that getting "rm"
(or del) to behave
the way I
suggest actually requires low-level changes to the shell's wildcard
expansion (*and* thus would require a change to all all tools) mean
it'll never work.
You could make the shell look for a variable and not expand bare
wildcards
for programs in that variable.
export THINGS_THAT_DO_NOT_WANT_BARE_GLOB_EXPANDED=/bin/era
and you are done. Nothing other than your new command would be
affected. If "era" only implemented the new behaviour when
run interactively, you'd have the best of both worlds?
Antonio