zsh-workers
 help / color / mirror / code / Atom feed
From: martin f krafft <madduck@debian.org>
To: Clint Adams <schizo@debian.org>
Cc: zsh-workers@sunsite.dk, 270608-done@bugs.debian.org
Subject: Re: Bug#270608: zsh: dpkg completion broken
Date: Sat, 11 Sep 2004 19:07:36 +0200	[thread overview]
Message-ID: <20040911170736.GA23592@cirrus.madduck.net> (raw)
In-Reply-To: <20040911163125.GA32267@scowler.net>

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

also sprach Clint Adams <schizo@debian.org> [2004.09.11.1831 +0200]:
> Well, "fignore" is an array, and "FIGNORE" is a scalar, so what you
> probably wanted to type is either
> 
> FIGNORE="~:#:bk"
> 
> or
> 
> fignore=(\~ # bk)

Oh dear. I can confirm that this is the problem. Bug closed.

> though you might want to drop "fignore" altogether and use a
> ignored-patterns zstyles instead.

I did.

zstyle ':completion:*:(all-|)files' ignored-patterns '*.bk' '*~' '*\#'

Thanks for the hint.

This opens another issue... the manpage says that 

  Note that the EXTENDED_GLOB option is set during  the  execution
  of completion functions, so the characters ‘#’, ‘~’ and ‘^’ have
  special meanings in the patterns.

However, the above line only works if I do *not* escape ~.

Thanks for your help!

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

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

  reply	other threads:[~2004-09-11 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040910161256.GA12173@scowler.net>
     [not found] ` <20040910161910.GA23853@cirrus.madduck.net>
     [not found]   ` <20040910163119.GA12581@scowler.net>
     [not found]     ` <20040910172215.GA27368@cirrus.madduck.net>
     [not found]       ` <20040910185500.GA15086@scowler.net>
     [not found]         ` <20040908085302.GA32363@cirrus.madduck.net>
     [not found]           ` <20040908180727.GB25987@scowler.net>
     [not found]             ` <20040910093933.GC4099@cirrus.madduck.net>
     [not found]               ` <20040910155528.GA11672@scowler.net>
     [not found]                 ` <20040911063908.GA29864@cirrus.madduck.net>
2004-09-11 16:31                   ` Clint Adams
2004-09-11 17:07                     ` martin f krafft [this message]
2004-09-11 20:28                       ` Bart Schaefer
2004-09-11 20:31                         ` martin f krafft

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=20040911170736.GA23592@cirrus.madduck.net \
    --to=madduck@debian.org \
    --cc=270608-done@bugs.debian.org \
    --cc=schizo@debian.org \
    --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).