From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11413 invoked by alias); 17 Dec 2013 00:49:43 -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: 18232 Received: (qmail 2864 invoked from network); 17 Dec 2013 00:49:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201210; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Qmx5Tj01hqEKSCXoHTU6RnIu42TJl8x7gqRHYMWEl9Y=; b=FnqD/SEVa3fAMhyB1RxNLv4n5KSfzOVMoflXqriM7vEOdU/v8Xuz5S7Z7emZPm6KuYfIY/WpiQFqUTCG4n1QpSWYLk+xTce9QNEFQ0a72RKwmbUYIYihjLhk/ObWhFoGTsyK7Gp30pptsiN/iNxCop2RRT9D+m2DUMg9j3r/gB8=; Date: Mon, 16 Dec 2013 19:49:35 -0500 From: Phil Pennock To: Hong Xu Cc: "zsh-users@zsh.org" Subject: Re: Pattern problem in the new zsh 5.0.3 Message-ID: <20131217004935.GB53147@redoubt.spodhuis.org> Mail-Followup-To: Hong Xu , "zsh-users@zsh.org" References: <52AF6590.9020802@topbug.net> <5622AE48-B272-40C8-9344-0864EE34DEED@topbug.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5622AE48-B272-40C8-9344-0864EE34DEED@topbug.net> OpenPGP: url=https://www.security.spodhuis.org/PGP/keys/0x3903637F.asc On 2013-12-16 at 14:34 -0800, Hong Xu wrote: > I need to mention that these problems don't exist in 5.0.2. > > On Dec 16, 2013, at 12:41, Hong Xu wrote: > > After I upgraded to zsh 5.0.3, I found a few issues. It looks like they are both related to the glob pattern. > > > > 1. When I tried to use "git push origin " to perform autocompletion, the following error occurs: > > > > __git_complete_remote_or_refspec:33: bad pattern: +* > > __git_complete_remote_or_refspec:33: bad pattern: +* > > __git_complete_remote_or_refspec:33: bad pattern: +* > > > > 2. When I tried to use rvm (see https://github.com/wayneeseguin/rvm/issues/2431), something similar occurs: > > > > | __rvm_clean_path:12: bad pattern: *:/Users/hong/.rvm/gems/ruby-1.9.3-p448@global/bin:*| Already reported over on the zsh-workers list; sorry, perhaps I should have mailed zsh-users. I think Peter is talking about an early 5.0.4 release because of this. There's a patch you can try in: http://www.zsh.org/mla/workers/2013/msg01166.html For git, you can work around the problem by patching the _git completion file, with the patch in: http://comments.gmane.org/gmane.comp.version-control.git/239332 Regards, -Phil