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

Re: [PATCH] Allow '=' aliases to be used with -L



On Wed, Mar 21, 2018 at 7:58 PM, Joey Pabalinas <joeypabalinas@xxxxxxxxx> wrote:
>
> Ah you are right, I didn't realize that. How about if we check if the
> module is loaded first?

The module being loaded when "alias -L" is executed doesn't mean it
will be when the assignment happens, and because of autoloads finding
that the module is not loaded does not tell you whether the assignment
will later succeed.

Also there are no other similar dependencies of the core on the
success of module_loaded().



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