zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-users@sunsite.dk
Subject: Re: Completion and menu behavior
Date: Wed, 7 Aug 2002 09:39:47 +0200	[thread overview]
Message-ID: <15696.52931.954498.323222@wischnow.berkom.de> (raw)
In-Reply-To: <3D50B9D6.6050603@base2.cc>


Byron Foster wrote:

> ...
> 
> lets say I'm in a directory that contains only files 'foobar' and 
> 'foofoo' and I type 'less [TAB]' at the command line.  Currently I will 
> get a partial completion of 'foo' and that's it.  Now what I would like 
> is that if I were to type 'less [TAB]' at the command line I would be 
> given 'less foo' with the cursor following just after the partial 
> completion, but *also* with a menu listing foobar and foofoo.

Try a combination of AUTO_LIST and NO_LIST_AMBIGUOUS:

  setopt autolist
  unsetopt listambiguous

Just btw: the use of `menu' in your mail is somewhat irritating
because, as I think, you really only want a list. Menuing is done with
AUTO_MENU or MENU_COMPLETE or the `menu' style. And menuing with a
list sounds like menu selection, where you can move the cursor in a
listing to select matches (turned on with the `select' value of the
`menu' style).


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@berkom.de


  reply	other threads:[~2002-08-07  7:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-07  6:10 Byron Foster
2002-08-07  7:39 ` Sven Wischnowsky [this message]
2002-08-07 21:44   ` DervishD
2002-08-07 22:10     ` Bart Schaefer
2002-08-10 17:02       ` DervishD
2002-08-10 17:30       ` DervishD
2002-08-10 19:27         ` Bart Schaefer
2002-08-10 20:20           ` DervishD
2002-08-11  1:17             ` Bart Schaefer
2002-08-11 13:20               ` DervishD
2002-08-11 14:56                 ` Bart Schaefer
2002-08-11 20:01                   ` DervishD
2002-08-08  3:23   ` Byron Foster

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=15696.52931.954498.323222@wischnow.berkom.de \
    --to=wischnow@berkom.de \
    --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).