On Fri, Sep 26, 2014 at 2:28 AM, Ángel González <an...@16bits.net> wrote: [...] > On the other hand, this approach would be much more interesting if bash > delayed parsing of exported functions until they are used (ie. check
This is what function autoload is for in zsh. It's indeed a better approach. It was also suggested by Dan Douglas in this thread ("FPATH mechanism").