From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29512 invoked by alias); 18 Oct 2011 10:58:20 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16508 Received: (qmail 12556 invoked from network); 18 Oct 2011 10:58:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 Received-SPF: neutral (ns1.primenet.com.au: 80.12.242.126 is neither permitted nor denied by SPF record at _spf.google.com) X-ME-engine: default Date: Tue, 18 Oct 2011 12:50:38 +0200 From: Bastien Dejean To: ZSH Users Mailing List Cc: Bart Schaefer Subject: Re: Completion of autocd Doesn't Show all the Possible Matches Message-ID: <20111018105038.GA30470@circle.home> References: <20111014131553.GA13057@circle.home> <111014093239.ZM10515@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <111014093239.ZM10515@torch.brasslantern.com> User-Agent: Mutt/1.5.21 (2010-09-15) Bart Schaefer a écrit : > If you type the trailing slash, then zsh assumes that what you really > want to complete is what comes after the slash, that is, directories > INSIDE a directory whose name starts with "c"; so I would expect that > it's only showing you those directories that contain subdirectories. How could I define a custom completion mechanism which complete only from the set of all the directories (being direct children of the current directory) starting with the characters typed so far? Greetings, -- Bastien