From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2316 invoked by alias); 2 Sep 2011 11:23:19 -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: 16298 Received: (qmail 5265 invoked from network); 2 Sep 2011 11:23:16 -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.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Fri, 2 Sep 2011 13:23:06 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Completion of files in subdirectories Message-ID: <20110902112306.GT3403@xvii.vinc17.org> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6194-vl-r44775 (2011-07-13) It seems that the completion of files in subdirectories is broken for commands that have a filter on the extension (e.g. ".pdf" for xpdf, ".html" for lynx). For instance, I have a directory with: bar.html foo.pdf In this directory: ypig% lynx [Tab] bar.html file: ftp:// gopher:// http:// https:// and ypig% xpdf [Tab] gives foo.pdf as expected. But if I go to the parent directory: ypig% lynx dir/[Tab] bar.html foo.pdf ypig% xpdf dir/[Tab] bar.html foo.pdf while I would have expected bar.html and foo.pdf respectively. This is with: zsh 4.3.12-dev-1-cvs0820 -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)