zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: Accept filename completion
Date: Wed, 16 Jan 2008 18:43:40 -0800	[thread overview]
Message-ID: <080116184340.ZM12876@torch.brasslantern.com> (raw)
In-Reply-To: <slrnfoslov.6ea.joerg@alea.gnuu.de>

On Jan 16,  7:12pm, Jorg Sommer wrote:
} Subject: Re: Accept filename completion
}
} >> 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?

There really is nothing else.  You're in a menu, cycling through a
list of choices that zsh doesn't know how to disambiguate, so you have
to disambiguate for it by ending this completion.

Vin may be on the mark with his accept-and-menu-complete suggestion,
but circumstances still dictate what you have to do.  If you want to
complete again in the same context, e.g. another file in the same
directory, then use accept-and-menu-complete; otherwise you have to
change the context, e.g. descend to a subdirectory by adding a slash.


      parent reply	other threads:[~2008-01-17  2:43 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
2008-01-17  2:43     ` Bart Schaefer [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=080116184340.ZM12876@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).