[Pkg-zsh-devel] Bug#898619: Bug#898619: Bug#898619: zsh autocompletion does not deal gracefully with upgrades in the background

Frank Terbeck ft at bewatermyfriend.org
Mon May 14 23:09:53 BST 2018


Axel Beckert wrote:
> Philipp Kern wrote:
[...]
>> My gut feeling is that this is because I did not autocomplete in the
>> old shell yet but now the module is gone.
>
> Yes, that's the same conclusion I came to.
>
>> At least with a new shell complist.so is only in /proc/$$/maps after
>> an attempted completion.

Yes, modules are loadable at run-time.

>> Would it be possible to make sure that the autocompletion system
>> loads the module on startup rather than on-demand?

Zsh is  setup to  do lots  of things  on demand.  It would  certainly be
conceivable  to be  more gracious  about  the issue.  But when  versions
upgrade, I don't  think it's unreasonable to restart a  shell, like Axel
mentioned via "exec zsh".

If you'd really like that module loaded all the time, you can load it in
your setup. Personally, I'm loading a bunch of modules at startup time.


Regards, Frank



More information about the Pkg-zsh-devel mailing list