zsh-users
 help / color / mirror / code / Atom feed
* Pattern problem in the new zsh 5.0.3
@ 2013-12-16 20:41 Hong Xu
  2013-12-16 22:34 ` Hong Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Hong Xu @ 2013-12-16 20:41 UTC (permalink / raw)
  To: zsh-users

Hi all,

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 <tab>" 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:*|


I'm not familiar with the rvm codebase, so I cannot afford any details 
on that. But my point is, it seems that something related to pattern has 
broken in the new version.

Can anyone look into this, please?

Thanks!
Hong


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pattern problem in the new zsh 5.0.3
  2013-12-16 20:41 Pattern problem in the new zsh 5.0.3 Hong Xu
@ 2013-12-16 22:34 ` Hong Xu
  2013-12-17  0:49   ` Phil Pennock
  0 siblings, 1 reply; 3+ messages in thread
From: Hong Xu @ 2013-12-16 22:34 UTC (permalink / raw)
  To: zsh-users

I need to mention that these problems don't exist in 5.0.2.

Hong

> On Dec 16, 2013, at 12:41, Hong Xu <hong@topbug.net> wrote:
> 
> Hi all,
> 
> 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 <tab>" 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:*|
> 
> 
> I'm not familiar with the rvm codebase, so I cannot afford any details on that. But my point is, it seems that something related to pattern has broken in the new version.
> 
> Can anyone look into this, please?
> 
> Thanks!
> Hong


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pattern problem in the new zsh 5.0.3
  2013-12-16 22:34 ` Hong Xu
@ 2013-12-17  0:49   ` Phil Pennock
  0 siblings, 0 replies; 3+ messages in thread
From: Phil Pennock @ 2013-12-17  0:49 UTC (permalink / raw)
  To: Hong Xu; +Cc: zsh-users

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 <hong@topbug.net> 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 <tab>" 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-17  0:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-16 20:41 Pattern problem in the new zsh 5.0.3 Hong Xu
2013-12-16 22:34 ` Hong Xu
2013-12-17  0:49   ` Phil Pennock

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).