Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Load autoloadable function, but only in enclosing function scope



Is there a way to

myfunc() {
    autoload foo && foo
}

Such that foo and any other functions it declares are local-scope only?

Zach Riggle



Messages sorted by: Reverse Date, Date, Thread, Author