On Thu, Dec 04, 2008 at 10:16:20AM +0100, Roman Rakus wrote: > probably you heard about this topic. It is invoked by ubuntu guys. See > https://launchpad.net/ubuntu/+spec/command-not-found-magic > I would like to know, what do you think about it. It needs a small change > in bash. [...]
A note about it. If ever it makes it to bash, maybe a good idea would be to call the handler command_not_found_handler instead of command_not_found_handle as it seems to make more sense (at least to me) and that's what zsh has chosen (for the same reason). See http://www.zsh.org/mla/workers/2007/msg00592.html So that one could use the same rc file for bash and zsh. -- Stéphane