From: Bart Schaefer <schaefer@brasslantern.com>
To: Joey Pabalinas <joeypabalinas@gmail.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [PATCH] Allow '=' aliases to be used with -L
Date: Wed, 21 Mar 2018 20:08:37 -0700 [thread overview]
Message-ID: <CAH+w=7a5m0YMcxtMP3LGViazrPtE9HDaAHHs8ik1cc=Y+Gv54A@mail.gmail.com> (raw)
In-Reply-To: <20180322025807.u3y7dph2vi6ls2ll@gmail.com>
On Wed, Mar 21, 2018 at 7:58 PM, Joey Pabalinas <joeypabalinas@gmail.com> 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().
next prev parent reply other threads:[~2018-03-22 3:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-22 1:19 Joey Pabalinas
2018-03-22 1:37 ` Bart Schaefer
2018-03-22 2:58 ` Joey Pabalinas
2018-03-22 3:08 ` Bart Schaefer [this message]
2018-03-22 3:12 ` Joey Pabalinas
2018-03-23 6:32 ` Daniel Shahaf
2018-03-23 7:39 ` Joey Pabalinas
2018-03-23 10:09 ` Nikolay Aleksandrovich Pavlov (ZyX)
2018-03-23 10:36 ` Joey Pabalinas
2018-03-23 17:29 ` Stephane Chazelas
2018-03-24 0:02 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7a5m0YMcxtMP3LGViazrPtE9HDaAHHs8ik1cc=Y+Gv54A@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=joeypabalinas@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).