zsh-workers
 help / color / mirror / code / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.org>
To: zsh-workers@zsh.org
Subject: Re: PATCH (?) Re: strange completion
Date: Mon, 5 Sep 2011 23:11:52 +0400	[thread overview]
Message-ID: <20110905191152.GA24658@altlinux.org> (raw)
In-Reply-To: <110603013407.ZM16592@torch.brasslantern.com>

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

On Fri, Jun 03, 2011 at 01:34:07AM -0700, Bart Schaefer wrote:
> -    if [[ "$tpre$tsuf" = */* ]]; then
> +    if [[ "$tpre$tsuf" = (#b)*/(*) && -n "$fake${match[1]}" ]]; then
Don't know why, but this patch breaks completion with
list-dirs-first set to true (see _files):

$ ls .zsh/Completion/<Tab>
Sorry. No match for: `files' or `directories'
$ ls .zsh/Completion/_<Tab>
---- files ----
_files       _path_files

However:

$ ls <Tab>
---- directories ----
...
---- files ----
...

As you can see, it refuses to complete files without known
prefix.  Can someone, please, look into tis issue?

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2011-09-05 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4DE6ABF6.10405@sergio.spb.ru>
     [not found] ` <110601194609.ZM14369@torch.brasslantern.com>
     [not found]   ` <4DE765F2.5000704@sergio.spb.ru>
2011-06-02 14:13     ` Bart Schaefer
2011-06-03  8:34       ` Bart Schaefer
2011-09-05 19:11         ` Alexey I. Froloff [this message]
2011-09-05 20:42           ` Bart Schaefer
2011-09-05 21:34             ` Alexey I. Froloff

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=20110905191152.GA24658@altlinux.org \
    --to=raorn@altlinux.org \
    --cc=zsh-workers@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).