From: Matthew Lovell <lovell@fc.hp.com>
To: "zsh-users@sunsite.auc.dk" <zsh-users@sunsite.auc.dk>
Subject: Re: double-listing with completion?
Date: Wed, 14 Jun 2000 21:27:53 -0600 (MDT) [thread overview]
Message-ID: <14664.19769.64255.63300@hatchet.fc.hp.com> (raw)
In-Reply-To: <14664.19347.582868.303929@hatchet.fc.hp.com>
On 14 June 2000, Matthew Lovell writes:
>
> If I follow the example given in the User Guide,
>
> zstyle ':completion:*:descriptions' format 'Completing %d'
> zstyle ':completion:*' group-name ''
>
> and then try "ls <complete>", I end up with a double-listing of
> completions:
>
> lovell@mblhome:~
> % ls
> Completing file
> Chess Desktop Mail Office50 autosave axhome bin lale misc
> Completing file
> Chess Desktop Mail Office50 autosave axhome bin lale misc
Sorry to answer my own email...
Ah, I think it's being caused by another zstyle command (this one came
from the man pages)
zstyle ':completion:*' file-patterns \
'%p:globbed-files *(-/):directories' '*:all-files'
A somewhat odd interaction! Generally, I liked that example a lot.
I've always wanted the ability to do something like
gv path/down/to<complete>
and get completion for paths and then just get completion for *.ps at
the end. Perhaps I can restrict that last zstyle to everything but
the ls command.
Matt
--
Matthew Lovell
HP Technical Solutions Lab
mailto:lovell@fc.hp.com
prev parent reply other threads:[~2000-06-15 3:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-15 3:20 Matthew Lovell
2000-06-15 3:27 ` Matthew Lovell [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=14664.19769.64255.63300@hatchet.fc.hp.com \
--to=lovell@fc.hp.com \
--cc=zsh-users@sunsite.auc.dk \
/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).