Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion of prefix redirections is -command- instead of -redirect-
- X-seq: zsh-workers 36284
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Completion of prefix redirections is -command- instead of -redirect-
- Date: Thu, 27 Aug 2015 02:16:44 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b6+2Vck+wQw5VxmOxiCDG1pDfR/IDHICV1/SdbR3iH4=; b=wfztNPVnxFCqHPJA+rDikPCiVA1cvBclCTewXsv1g7p6H+GOYlseHDAOu//6U6fOJc aMOKW3ptDursppm4Ee9hx3jwwQlvOtEB1H/EzvF33BQt1urxX5sJ6NTxH5O1RmkUFWvV JcNBbQjHWpf15k/NkS21DEiBXvWcz0PbbndPTavPoo2cjWLvIVkFLMRxkqx7TtAykZNt HOZQa78AW2aqD9q+tmz5zrTHq7l15oMbPF5GL4B0uu5Zjq7ttXRmBrfVhasMTvj48Rsn 3JM1BYb9yFi/mcH0QSn8RPHRrHlGCzfOKVIWz8I6/qg0EBi/Vl59yJHJaCcf8zAKpow6 ViYQ==
- In-reply-to: <150826111808.ZM30185@torch.brasslantern.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>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150826053928.GD19027@tarsus.local2> <150826111808.ZM30185@torch.brasslantern.com>
On Wed, Aug 26, 2015 at 8:18 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Aug 26, 5:39am, Daniel Shahaf wrote:
> }
> } Typing "<" and <TAB> at the prompt tries these completions [wrapped by me]:
> }
> } tags in context :completion::complete:-command-::
>
> Confirm this is new since 5.0.8.
>
> Looking at _complete_debug output, it seems to be ignoring the "<" and
> completing as if the buffer were empty; there is nothing in the $words
> array when entering compsys, so of course it tries commands.
>
> Interestingly, compctl doesn't have this problem (though maybe not for
> the right reason).
249999cfb485914fe6f8630b1f4079e1227a5097 is the first bad commit
commit 249999cfb485914fe6f8630b1f4079e1227a5097
Author: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Date: Sun Aug 9 18:40:54 2015 +0100
36025: Fix completion aftoer "foo=bar; setopt ".
Done by catching a case that doesn't seem to be handled otherwise,
so there's some hope it doesn't screw up too much.
With the above commit reverted, < <tab> completes files again, but so
does ; <tab>.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author