From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6091 invoked from network); 30 Jun 2004 13:51:32 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 30 Jun 2004 13:51:32 -0000 Received: (qmail 21294 invoked from network); 30 Jun 2004 15:02:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 15:02:17 -0000 Received: (qmail 7185 invoked by alias); 30 Jun 2004 13:50:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7631 Received: (qmail 7175 invoked from network); 30 Jun 2004 13:50:39 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 30 Jun 2004 13:50:39 -0000 Received: (qmail 20410 invoked from network); 30 Jun 2004 15:01:57 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 15:01:51 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BffTs-0004L5-00 for ; Wed, 30 Jun 2004 15:50:32 +0200 Received: from 139.4.37.213 ([139.4.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2004 15:50:32 +0200 Received: from kai by 139.4.37.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jun 2004 15:50:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Kai Grossjohann Subject: Case-insensitive completion isn't completely insensitive Date: Wed, 30 Jun 2004 15:43:27 +0200 Message-ID: <86eknxxitc.fsf@rumba.de.uu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 139.4.37.213 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Cw+6fbK21ZMIjucJXWnNfROyfd4= Sender: news X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 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