From: Matthias Brandt <mb@blau.de>
To: <zsh-users@zsh.org>
Subject: Re: Bash-like autocompletition
Date: Tue, 17 Aug 2010 10:01:49 +0200 [thread overview]
Message-ID: <4C6A41ED.9040807@blau.de> (raw)
In-Reply-To: <87vd79fzly.fsf@ft.bewatermyfriend.org>
Am 08/17/2010 09:49 AM, schrieb Frank Terbeck:
> Matthias Brandt wrote:
>> Am 08/17/2010 08:45 AM, schrieb Frank Terbeck:
>>> Matthias Brandt wrote:
>>>> $ ls a<tab> #i want the cli only complete
>>>> $ ls aa #until the first ambigous character.
>>>> aaaabcdefg aabg aabcdefg #<- the menu will be shown
>>>> Any idea how to configure this?
> [...]
>>> <http://zshwiki.org/home/examples/compquickstart>
> [...]
>> Sorry, but this doesn't help me. I've allready read some tutorials
>> about compsys, but I don't get any solution for my specific problem:
>> zsh should only complete until the first ambigous character.
>
> Well, you have to explain where your problem is with that setup...
>
> What that setup does this:
>
> + Complete until the first non-ambiguous character, if possible.
> + Show a list of possible completions, if there are only ambiguous
> completions left and tab is pressed.
> + If the list from the previous step is being displayed and tab is
> hit again, enter that list as a browsable menu with a cursor you
> can control with the keyboard's cursor keys.
>
> Point one and two sound a *lot* you're asking for. Point three is a
> little extra sugar, a lot of people like. You may want the menu to be
> shown right away after the first tab when all non-ambiguous characters
> have been inserted. If so, that's wasn't entirely clear to me.
I'm sorry. I've just tried the pastie and it didn't work for me. So now
I've tried it on a clean zsh installation et voila: it works like a
charm. Obviously i've got some other configuration which mixes it up...
Thank you for your patient support!
Matthias
next prev parent reply other threads:[~2010-08-17 8:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 6:13 Matthias Brandt
2010-08-17 6:45 ` Frank Terbeck
2010-08-17 7:08 ` Matthias Brandt
2010-08-17 7:49 ` Frank Terbeck
2010-08-17 8:01 ` Matthias Brandt [this message]
2010-08-17 8:13 ` Guillaume Brunerie
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=4C6A41ED.9040807@blau.de \
--to=mb@blau.de \
--cc=zsh-users@zsh.org \
/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).