From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13003 invoked from network); 3 Mar 2006 08:43:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Mar 2006 08:43:27 -0000 Received: (qmail 13984 invoked from network); 3 Mar 2006 08:43:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Mar 2006 08:43:12 -0000 Received: (qmail 11252 invoked by alias); 3 Mar 2006 08:43:06 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9986 Received: (qmail 11116 invoked from network); 3 Mar 2006 08:41:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Mar 2006 08:41:24 -0000 Received: (qmail 12024 invoked from network); 3 Mar 2006 08:41:24 -0000 Received: from goliath.siemens.de (192.35.17.28) by a.mx.sunsite.dk with SMTP; 3 Mar 2006 08:41:22 -0000 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.12.6/8.12.6) with ESMTP id k238fLsX027136 for ; Fri, 3 Mar 2006 09:41:21 +0100 Received: from mhpahx0c.ww002.siemens.net (mhpahx0c.ww002.siemens.net [139.25.165.42]) by mail1.siemens.de (8.12.6/8.12.6) with ESMTP id k238fJHs011339 for ; Fri, 3 Mar 2006 09:41:19 +0100 Received: from MCHP7R6A.ww002.siemens.net ([139.25.131.165]) by mhpahx0c.ww002.siemens.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Mar 2006 09:41:19 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: HASH_LIST_ALL does not work as expected Date: Fri, 3 Mar 2006 09:41:19 +0100 Message-ID: <6F0CB04509C11D46A54232E852E390ACF230C1@MCHP7R6A.ww002.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HASH_LIST_ALL does not work as expected Thread-Index: AcY+nj30KBvtaPm/QtmCN+BM7ukz3g== From: "Com MN PG P E B Consultant 3" To: "zsh-users Mailinglist" X-OriginalArrivalTime: 03 Mar 2006 08:41:19.0793 (UTC) FILETIME=[3E51A210:01C63E9E] Maybe I misunderstood the zsh documentation here, but... I have set setopt CORRECT_ALL setopt CORRECT setopt HASH_LIST_ALL setopt HASH_CMDS I understood that due to HASH_LIST_ALL, whenever I try to complete a command, the=20 PATH is hashed for available commands first. It does not work that way. Here a simple example, assuming ~/bin is in my PATH: cd echo "echo foo bar baz" >bin/dummy chmod +x bin/dummy Now due to HASH_LIST_ALL, when I press "dum" and the tab key to request completions, I would expect that "dummy" is shown - but it isn't. However when I explicitly type rehash an then press "dum" + tab key, it is completed to "dummy". Similarily, if I subsequently do a rm bin/dummy the command is *still* completed to "dummy" if completion is requested (meaning again that the hash is not updated). I found this behaviour with zsh 4.0.7 running under Linux and 4.2.4 running undre Cygwin. Ronald