Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing Completion
- X-seq: zsh-users 12340
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: Vadim Zeitlin <vz-zsh@xxxxxxxxxxxx>
- Subject: Re: Globbing Completion
- Date: Thu, 20 Dec 2007 11:18:02 -0500
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20071220002118.2F7FF8058F54@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071219235531.GA20370@xxxxxxxxxxxxxxxxxx> <20071220002118.2F7FF8058F54@xxxxxxxxxxxxxxxxxx>
Vadim Zeitlin sent me the following 0.7K:
> CJ> Hi, zsh users. Occasionally I run into the situation where I'd like to
> CJ> glob all the files that are offered for completion.
[...]
> I had exactly the same question ~6 months ago and Peter has kindly
> provided the answer (which works great for me ever since then), see
>
> http://article.gmane.org/gmane.comp.shells.zsh.user/6902
Thanks, VZ. I guess I didn't realize the significance of your post the
first time I saw it. Per your message and Peter's, this did the trick
to expand the completed filenames:
$ zle -C all-matches complete-word _generic
$ bindkey '^Xa' all-matches
$ zstyle ':completion:all-matches:*' completer _all_matches _complete
$ zstyle ':completion:all-matches:*' insert true
--
Chris Johnson
cjohnson@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author