On 10/23/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > On 10/23/06, Philip Ganchev <[EMAIL PROTECTED]> wrote: [...] > > But the function was defiend before the pager was invoked. Why isn't > > it defined after it exits? And this only happens when there is no > > command on the comman line, not for example when the pager completes > > "ls<Tab>". > > That sounds like a bug. I'll look into it.
Ok, after a bit of digging, it seems that the problem is that because the 'interactive.fish' file you sourced on startup is in a directory in the $fish_function_path, fish gets a bit confused and may consider the function to be autoloaded, even though you manually sourced it. This behaviour is a bit confusing, I'll admit, but I think that the behaviour when sourcing an autoloaded file shoiuld be left undefined, since I fear that it's really hard to get any kind of well defined behaviour with no painful corner cases. [...] -- Axel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users