ridiculousfish 3ab954644f Make fish install a command_not_found handler in non-interactive uses.
Previously, fish's command_not_found handler would be installed in
__fish_config_interactive. Errors that occured early in startup (e.g. in
config.fish) or in non-interactive mode would therefore not be reported.
With this change, fish now exposes its default cnf handler as
__fish_default_command_not_found_handler . config.fish then installs a
cnfh that invokes the default. When fish goes interactive, the initial
cnfh is overwritten with a fancier one, that may in turn fall back to
invoking the default.
2014-02-20 10:26:57 -08:00
..
2010-09-18 10:18:26 +08:00
2013-07-18 21:26:32 +05:30
2013-09-12 11:46:31 +02:00
2010-09-18 10:18:26 +08:00
2012-11-17 13:37:32 -08:00
2010-09-18 10:18:26 +08:00
2012-09-22 23:49:26 -07:00
2012-07-01 14:20:43 -07:00
2010-09-18 10:18:26 +08:00
2013-08-13 17:26:38 +03:00
2013-08-12 09:38:17 +03:00
2013-02-17 12:56:56 -08:00
2013-08-13 17:21:40 +03:00
2013-09-12 11:46:31 +02:00
2010-09-19 13:56:30 +08:00
2013-04-28 16:31:25 -07:00