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

Re: Special _tags:comptags:67: no tags registered



On Sep 28,  9:05am, Sebastian Gniazdowski wrote:
}
} restoring functions is done via declare -f and it has flaws, thanks
} for the explanation it is needed to me to do this correctly! It seems
} that I'll be iterating over $functions, parsing first lines to detect
} autoload-stubs, then recreate the stubs via autoload call

Or you could use "zcompile -acm stubfile \*" and then read it in the
other shell with "autoload -w stubfile.zwc".

} There is apparently other minor flaw of not restoring
} emulations that stick to autoload functions

I believe that's true, yes -- though I haven't checked / don't recall
whether zcompile saves the sticky emulation.



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