zsh-users
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
To: zsh-users@sunsite.dk
Subject: Case-insensitive completion isn't completely insensitive
Date: Wed, 30 Jun 2004 15:43:27 +0200	[thread overview]
Message-ID: <86eknxxitc.fsf@rumba.de.uu.net> (raw)

I have customized zsh (4.2.0) completion as shown below.  I like
case-insensitive completion.

I have a directory which contains a file ENV and a subdir etc/.  I
change into that directory, type "source ./e" and then hit TAB.  Zsh
completes the directory, but not the file!

Typing "source ./en" and then hitting tab completes ./ENV as I prefer.

Is there a way to get zsh to complete ./e into ./ENV in this
situation?

tia,
Kai

# The following lines were added by compinstall

zstyle ':completion:*' auto-description 'specify %d'
zstyle ':completion:*' completer _expand _complete _correct
zstyle ':completion:*' completions 1
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' glob 1
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'r:|[._-/]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 3 numeric
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' substitute 1
zstyle ':completion:*' verbose true
zstyle :compinstall filename '/home/kgr/.zshrc'

autoload -U compinit
compinit
# End of lines added by compinstall



             reply	other threads:[~2004-06-30 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 13:43 Kai Grossjohann [this message]
2004-06-30 14:31 ` Oliver Kiddle
2004-06-30 15:01   ` Kai Grossjohann

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=86eknxxitc.fsf@rumba.de.uu.net \
    --to=kai@emptydomain.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).