Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Dump of backlogged commits coming
- X-seq: zsh-workers 49386
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Dump of backlogged commits coming
- Date: Tue, 7 Sep 2021 13:42:56 -0700
- Archived-at: <https://zsh.org/workers/49386>
- In-reply-to: <CACeGjnXf=yb4dHExNa+MQtuD4CT0dPE5_+5Sfn5=-xk4FLTViQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7bJXWOJJY_WTqs5FFHWmBFx41qdhUps-uojmksu7qt+TQ@mail.gmail.com> <CACeGjnXf=yb4dHExNa+MQtuD4CT0dPE5_+5Sfn5=-xk4FLTViQ@mail.gmail.com>
On Tue, Sep 7, 2021 at 6:28 AM Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Perhaps one of these commits is the reason for this test failure:
Yes, that would be this one:
* Marlon Richert: 49218: Functions/Misc/run-help,
Functions/Misc/run-help-btrfs, Functions/Misc/run-help-git,
Functions/Misc/run-help-ip, Functions/Misc/run-help-p4,
Functions/Misc/run-help-svk, Functions/Misc/run-help-svn:
run-help filters cmd_args before calling run-help-<command>
The Z03 test is new (I missed adding it to the ChangeLog entry) and
does not handle separation of source tree / build tree.
Does this fix it?
diff --git a/Test/Z03run-help.ztst b/Test/Z03run-help.ztst
index 2bb3bceed..ca8ba4d04 100644
--- a/Test/Z03run-help.ztst
+++ b/Test/Z03run-help.ztst
@@ -1,7 +1,7 @@
%prep
PAGER=cat
unalias run-help
- autoload +X -Uz $PWD/../Functions/Misc/run-help*
+ autoload +X -Uz ${^fpath}/run-help*(N)
builtin() {
case "$1 $2" in
( 'getln cmd_args' )
Messages sorted by:
Reverse Date,
Date,
Thread,
Author