zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh-users List <zsh-users@sunsite.dk>
Subject: Re: Case-insensitive completion
Date: Wed, 17 Sep 2003 14:36:57 +0000	[thread overview]
Message-ID: <1030917143657.ZM1445@candle.brasslantern.com> (raw)
In-Reply-To: <17942.1063783839@gmcs3.local>

On Sep 17,  9:30am, Oliver Kiddle wrote:
}
} Bart wrote:
} 
} > Normally the way to do that would be to use different keybindings for
} > "complete case-insensitively" vs. "complete case-sensitively" and tell
} > zsh your preference by which of them you invoke.
}
} Would always use _generic for that type of thing myself. Avoids the need
} for a separate function file:

Ah, yes, I'd completely (ahem) forgotten about _generic.

The only advantage to using a separate file is the automatic #compdef,
which isn't much advantage at all.

} zle -C case-sensitive complete-word _generic
} zstyle ':completion:case-sensitive::::' completer _expand _complete _ignored

In fact, you don't even need that style unless using an unusual set of
completers; this one is sufficient:

} zstyle ':completion:case-sensitive:*' matcher-list ''


  reply	other threads:[~2003-09-17 14:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 10:30 Jesper Holmberg
2003-09-14 18:58 ` Bart Schaefer
2003-09-15 19:08   ` Jesper Holmberg
2003-09-16 17:03     ` Bart Schaefer
2003-09-17  7:30       ` Oliver Kiddle
2003-09-17 14:36         ` Bart Schaefer [this message]
2003-09-16 10:09   ` Oliver Kiddle
2003-09-16 11:59     ` Peter Stephenson
2003-09-16 12:17       ` Oliver Kiddle
2003-09-16 12:22         ` Jesper Holmberg
2003-09-17  7:40 ` Oliver Kiddle
2003-09-17 14:43   ` Bart Schaefer
2003-09-17 15:15     ` Oliver Kiddle
2003-09-18 10:26       ` Jesper Holmberg

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=1030917143657.ZM1445@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).