From: bas@phys.uva.nl (Bas V. de Bakker)
To: csdayton@midway.uchicago.edu
Cc: zsh-workers@math.gatech.edu
Subject: Re: strange completion
Date: Mon, 29 May 1995 07:52:36 +0200 [thread overview]
Message-ID: <199505290552.AA11581@phys.uva.nl> (raw)
In-Reply-To: <199505290510.AAA15728@woodlawn.uchicago.edu> (message from Soren Dayton on Mon, 29 May 95 00:10:20 -0500)
Soren Dayton <csdayton@midway.uchicago.edu> writes:
> This makes no sense to me...
> compctl -x 'C[-1,-*d*]' -g '*.gz *.Z *.z' -g '*(-/)' -- gzip
> here, I am in a directory with a directory and a tar.gz file
> gzip -d <tab>
> will complete to
> gzip -d <directory>
> Am I misunderstanding this? I want this to complete to .gz files.
The two -g flags are used simultaneously, expanding to one set of
completions. So if the directory is before the .gz file
alphabetically, it will complete first. To use the second flag only
if the first one does not generate any completions, put a '+' between
them.
Hope this helps,
Bas.
prev parent reply other threads:[~1995-05-29 5:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-29 5:10 Soren Dayton
1995-05-29 5:13 ` Soren Dayton
1995-05-29 5:59 ` Richard Coleman
1995-05-29 5:52 ` Bas V. de Bakker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199505290552.AA11581@phys.uva.nl \
--to=bas@phys.uva.nl \
--cc=csdayton@midway.uchicago.edu \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).