Here's Looking At You, Child.

RSS

Anyone using ZSH and Subversion 1.5 will notice that the command completion is all busted up:

_arguments:comparguments:303: invalid argument: ARG

I ran into this on OS X Leopard. To fix it, open Terminal.app, and do this:

$ cp /usr/share/zsh/4.3.4/functions/_subversion ~/Desktop
$ cd ~/Desktop
$ wget http://launchpadlibrarian.net/18286954/_subversion.diff
$ patch -p1 < _subversion.diff
File to patch: _subversion
$ sudo cp _subversion /usr/share/zsh/4.3.4/functions

Then relaunch your terminal. Yipee, your command completion should work again. You can safely remove the _subversion files from your desktop.