Hi,
Try running this:
function test_func --on-event fish_command_not_found
echo $argv
end
asdf a b c
The expected output would be "asdf a b c" but it is only "asdf". This is a
bug. I believe that the problem is twofold. The `args` var isn't being set
correctly when passed to `event_fire_generic` (parser.h:2090) and also only
the first argument from `args` is being passed. These assumptions can be
tested by adding the arguments `(wchar_t *)al_get( args, 1 )` and `L"foo"`
to `event_fire_generic` respectively.
Cheers,
Chris
--
chrislloyd.com.au
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users