Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Playing with list-expand + complete-word
- X-seq: zsh-users 18982
- From: Silas Silva <silasdb@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Playing with list-expand + complete-word
- Date: Mon, 21 Jul 2014 10:40:40 -0300
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=hrswGqgR77yxpRLtUAGbCaN+k/HQrdESijhTcHUwooc=; b=sj0Typg4l197mje5EVhb9YgYgNrBMLqaw4bK8VZANG09fS1vupSGOrFc/Eqj5O9Fc6 p120J3nkB+RCkH2Tk0//MBdrcZfzB7PDJoeLMXJYRM6NonDuUlrCyjO2KGZ5y5PFPShA iql65FBUdFot6bcXP2TlSJciqCBZnm8bCLEiJWOnVt4ISQoTf8fsw8fbJcfRwadwBWjn vuzjFqs7ADoU+NlY8bUJVlAGSVSaO+Z2TuVrGr/4wRF3dlqYQoVKMyS5HH/K0IJa2w4c 4l3syAgMWLh46jCBoJFlPReQtBGgLz1r12Hnjr2GcYGJF2rd96ZKEJ0LJHb6rBMab5bx yAIw==
- In-reply-to: <140720100238.ZM20179@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>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20140719052223.GA21109@auron.ufabc.int.br> <140719182113.ZM13840@torch.brasslantern.com> <20140720144907.GA20398@rikku> <140720100238.ZM20179@torch.brasslantern.com>
On Sun, Jul 20, 2014 at 10:02:38AM -0700, Bart Schaefer wrote:
> See what you think of
>
> bindkey $'\t' complete-word
> zstyle ':completion:*' completer _complete _match _expand
> zstyle ':completion:*:match:*' insert-unambiguous pattern
It seems to work really fine and almost exactly what I achieve by
creating a new widget that calls all other widgets. Thank you!
The only difference is that, if I press tab twice, then glob is replaced
by the first entry, and so on as I press tab again (which is better than
I got) :-)
Is there any advantage on using complete-word and configuring it with
styles than doing what I did? (creating a new widget that calls
list-choices, complete-word and list-expand)?
Your way is more zshish :-)
Thanks again!
--
Silas Silva
Messages sorted by:
Reverse Date,
Date,
Thread,
Author