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

Re: Truncate $functions



On Feb 15,  8:31pm, Sebastian Gniazdowski wrote:
}
} Thank you, this works really well.

As an additional note -- functions that look like

    sample () {
	# undefined
	builtin autoload -X
    }

should be restored as

    autoload sample

except that you can't know which of the -U -k -z options was specified
the first time the name was marked for autoload, so there's no way to
get this entirely right.

The other drawback to this scheme is that you can't save and restore
the "sticky emulation" bits of any of the functions.



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