Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Allow '=' aliases to be used with -L
- X-seq: zsh-workers 42495
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- Subject: Re: [PATCH] Allow '=' aliases to be used with -L
- Date: Wed, 21 Mar 2018 20:08:37 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qP6e19J5ufVOIWc9vK6J9yrB2tmRFjeIp3YGC8qs6uM=; b=sRsvqDrQBxntxmYMM8EVxEFkMC+k9nWkb/Z9SFOx63hQ5muL1R3xZxJjbQKcPNg7hO WAaL9FSfXibvWT0/qz8GWQ3O7Ohp5+z5og6FwFP9EW7WPGd2fPmxC+7NxTQryZ4pj3SM kuoFz1YkjDPxYiEwmL6wqERkeh6BxFKaqNG4oNkML8+Hvb1sTgSWGRUU6mybU8Br9YvH /MzMZKTmAJcvD0AE+Zi6//6XyQ161135EmySWQzIRoqzO5XZfiQS5DfwG/k3COvVKTNi 9pa5kemn3hIDeBlEjVIUshfqkYu8ghjZJjIqL7BBInQvEFV1pe6sgRobWEREXUf29qDq koqQ==
- In-reply-to: <20180322025807.u3y7dph2vi6ls2ll@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180322011905.45n377wsxp62k57e@gmail.com> <CAH+w=7aC9qsUaqz6arQitzoZsCXjeedSX5zUYE_Qwd-CLNQX6Q@mail.gmail.com> <20180322025807.u3y7dph2vi6ls2ll@gmail.com>
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