From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21406 invoked by alias); 9 Nov 2009 05:38:28 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27371 Received: (qmail 22171 invoked from network); 9 Nov 2009 05:38:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: none (ns1.primenet.com.au: domain at klanderman.net does not designate permitted sender hosts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19191.43212.832827.724369@gargle.gargle.HOWL> Date: Mon, 9 Nov 2009 00:29:48 -0500 From: Greg Klanderman To: Zsh list Subject: bug in 'rm' completion Reply-To: gak@klanderman.net X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid Running current cvs trunk: | [~] greg@lwm| zsh -f | lwm% echo $ZSH_VERSION | 4.3.10-dev-1 | lwm% echo $ZSH_PATCHLEVEL | 1.4806 | lwm% rm .zcompdump | lwm% autoload -U compinit | lwm% compinit -u | lwm% mkdir temp2 | lwm% cd temp2 | lwm% touch foo foo-bar At this point, if you type "rm f" and hit it correctly completes to "rm foo". If you then hit again, it incorrectly completes to "rm foo-bar". | lwm% rm foo-bar | lwm% rm foo | lwm% | lwm% touch foo{1,2,3} Now, type "rm foo2" and hit and it incorrectly thinks there are no completions, whereas it should insert a space. Will look into fixing these at some point but figured I'd report them first in case the fix is obvious to anyone out there.. I assume both examples are manifestations of the same bug. cheers, Greg