Zsh Mailing List Archive
Messages sorted by:
Re: Dynamic named directories and completion
- X-seq: zsh-users 23174
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Dynamic named directories and completion
- Date: Mon, 26 Feb 2018 18:49:01 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=l+qTUSuzLnQg3pedngk7q+uNn+3tzfmzMZdHkrAij94=; b=MTQEYj6rknFFDIieGYG3RX0N/8zF91++pTzw5sJ3uIJlbLRe8xT1P919TejUcvRiwm gokzEKhOfGJbhNFsh8+xNucTUE4MjfvJfnwtmGeV/6CT2jYSZVe03IbX9a4E7ZzuLl7q IQD82Ih6s7hbkEF+5E8Ll0kQr7aUFLHP0TkUhyg/cOm3mR298mak+AwmgN4USdJYOhbH 2nEcwA0BxFbSxgw0mExE2pw+IHxH7USbgjOG4sGQskw8TbN8+9zpzbf6BDCYFrob3DDQ C+eZheddIr6zvP2o6Br+0GmQ4eioRJKSXqJ+cdp8r7dv6Jw4yOfH/rsT8dA01OJiJNGO UUUA==
- In-reply-to: <firstname.lastname@example.org>
- List-help: <mailto:email@example.com>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:firstname.lastname@example.org>
- List-unsubscribe: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com> <CGME20180226135458epcas2p2a2420b54f4d0a36357a655e31497ec85@epcas2p2.samsung.com> <firstname.lastname@example.org> <email@example.com>
On Mon, Feb 26, 2018 at 3:47 PM, Peter Stephenson
> On Mon, 26 Feb 2018 08:53:00 -0500
> Scott Frazer <frazer.scott@xxxxxxxxx> wrote:
>> Yes, M-x complete-word does indeed work! I still need to try some of the
>> patches from later in this thread ...
> Glad it's not totally shrouded in obscurity...
> Would generally recommend the combination of complete-word as binding
> for tab + use of the expand completer (which I fixed somewhere else in
> this thread but am still to commit) as this is much more configurable.
> To turn it on you'd do something like
> zstyle ':completion:*' completer _expand _complete _ignored
> bindkey '^i' complete-word
> but there are many more exotic possibilities.
> I'll have a look at expand-or-complete word, too.
> (Ideally, in fact, whether or not we expand ~[whatever] needs
> configuring --- because this is dynamic completion you might decide to
> expand it to freeze the path for future use. I'll look at that if I get
> the chance. This is the sort of reason for using the expand completer
> I'm talking about.)
In this type of situation I usually explicitly press expand-word (^X*
by default I believe).
Messages sorted by: