Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion fails if dir referenced via variable.
- X-seq: zsh-users 18518
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: completion fails if dir referenced via variable.
- Date: Tue, 25 Feb 2014 21:02:38 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1393358559; bh=awYquk48Lb/MGOuKMK7o41X0SCf0NtHHlMKFZ1mZQB0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=ADrnxDVmcTJCy26pAnZCI7Krd5DOfBoH7rbH+TbbAqD3zbQHWrFRFN0Rzo4braN5Anfp7uygy6+sO5fRZ7Loc7hqIJanEOc3Ytscr//+yK+WtQknGMqbfultKEAK3m3wRDgHcZgAD0vB28q+03z6bz7Tj7nreK6kUQ0ajVFndFA=
- In-reply-to: <140225112152.ZM2295@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAHyxEs0RWnm_h1X6C6+VognALdCjZDabBATjUUtSUR58x+nHDw@mail.gmail.com> <140204073937.ZM21329@torch.brasslantern.com> <52F1146D.5020801@eastlink.ca> <140204194650.ZM21787@torch.brasslantern.com> <52F283E8.4050500@eastlink.ca> <CAH+w=7aqdvx52VFv6MCrkUKqt+5tzH665H_X6U1e1SMvNQF1ig@mail.gmail.com> <530CB4E8.8050305@eastlink.ca> <140225094657.ZM2214@torch.brasslantern.com> <530CE01D.9080201@eastlink.ca> <140225112152.ZM2295@torch.brasslantern.com>
Bart wrote:
> On Feb 25, 10:25am, Ray Andrews wrote:
> }
> } It seems intuitive that one should be able to have more than one
> } expansion and/or completion per line, not just one, does it not? Why the
> } artificial limitation?
>
> It's not a limitation, it's that way so that two tabs in a row enters
> menu completion on the same set of answers. You have to do something
Menu completion is only an option because _expand adds both
all-expansions and original as matches. When there's only one match,
that gets inserted and a subsequent tab will start completion anew.
original is always fairly useless because a key bound to undo gets you
back to the original fairly easily. So does the following help?
zstyle ':completion:*:expand:*' tag-order all-expansions
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author