From: "Vin Shelton" <acs@alumni.princeton.edu>
To: "Jörg Sommer" <joerg@alea.gnuu.de>
Cc: zsh-workers@sunsite.dk
Subject: Re: Accept filename completion
Date: Wed, 16 Jan 2008 16:03:55 -0500 [thread overview]
Message-ID: <20a807210801161303m5c1d7d85o6ad5cbdee79b25c@mail.gmail.com> (raw)
In-Reply-To: <slrnfoslov.6ea.joerg@alea.gnuu.de>
[-- Attachment #1: Type: text/plain, Size: 889 bytes --]
On Jan 16, 2008 2:12 PM, Jörg Sommer <joerg@alea.gnuu.de> wrote:
> Hi Mikael,
>
> "Mikael Magnusson" <mikachu@gmail.com> wrote:
> > On 14/01/2008, Jörg Sommer <joerg@alea.gnuu.de> wrote:
> >> Hi,
> >>
> >> how do I tell zsh that I take a completion? When I complete
> >> /usr/s<TAB><TAB> I get /usr/sbin. Pressing TAB again gives me
> /usr/share,
> >> but I want to see the files in /usr/sbin. How to do this?
> >
> > Press /<tab>
>
> That's not really useful when you complete something else than
> directories. It there really nothing else than stop the completion and
> start a new one?
If I understand what you mean, perhaps accept-and-menu-complete does what
you want?
ls hello.<TAB>
hello.C hello.cpp hello.exe* hello.obj*
then another <TAB> yields:
ls hello.C
M-x accept-and-menu-complete yields:
ls hello.C hello.cpp
HTH,
Vin
[-- Attachment #2: Type: text/html, Size: 1453 bytes --]
next prev parent reply other threads:[~2008-01-16 21:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 16:46 Jörg Sommer
2008-01-14 16:55 ` Mikael Magnusson
2008-01-16 19:12 ` Jörg Sommer
2008-01-16 21:03 ` Vin Shelton [this message]
2008-01-17 2:43 ` Bart Schaefer
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=20a807210801161303m5c1d7d85o6ad5cbdee79b25c@mail.gmail.com \
--to=acs@alumni.princeton.edu \
--cc=joerg@alea.gnuu.de \
--cc=zsh-workers@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).