From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Will Yardley <william@hq.newdream.net>
Cc: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: globbing
Date: Fri, 10 Aug 2001 10:43:20 +0100 [thread overview]
Message-ID: <3B73ACB8.567A4018@u.genie.co.uk> (raw)
In-Reply-To: <20010810002007.A4701@hq.newdream.net>
Will Yardley wrote:
>
> in zsh, it'll split out the whole list unless i put the slash after the
> asterisk, which can get pretty messy
> glob_complete is almost what i want, only ideally i'd like it to not display
> the entire array.
Have you tried the _match completer? If you don't want the entire array
displayed, what do you want displayed?
> i think the second question has been brought up before, but is there a way to
> do:
> % cd /usr/l<tab>bin
> and have that complete to /usr/local/bin as in bash (without putting a space
> after /usr?
The _prefix completer is probably what you want then. It ignores the
suffix. It seems to work in the same way as bash to me. So try:
zstyle ':completion:*::::' completer _match _prefix _complete
making sure you leave the completeinword option set.
Oliver
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp
next prev parent reply other threads:[~2001-08-10 10:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-10 7:20 globbing Will Yardley
2001-08-10 9:09 ` globbing Borsenkow Andrej
[not found] ` <20010810123418.H4701@hq.newdream.net>
2001-08-11 11:10 ` globbing Borsenkow Andrej
2001-08-11 21:23 ` globbing Bart Schaefer
2001-08-11 21:51 ` globbing Will Yardley
2001-08-12 5:42 ` globbing Borsenkow Andrej
2001-08-10 9:43 ` Oliver Kiddle [this message]
2005-07-21 2:48 globbing Tyler Spivey
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=3B73ACB8.567A4018@u.genie.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=william@hq.newdream.net \
--cc=zsh-users@sunsite.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).