Zsh tab completion with subversion 1.5

This has ticked me off for a bit, and I finally decided to find out why. Tab completion in zsh was returning the following every time I tried to use it, after upgrading to subversion 1.5:

_arguments:comparguments:303: invalid argument: ARG

Looks like the reason is that the subversion developers changed “arg” to “ARG”. So when I googled I found this helpful post:

ZSH Tab Completion Fix for Subversion 1.5 which basically points to this new _subversion functions file to be plopped into the zsh functions directory (/usr/share/zsh/4.3.4/functions; change the version to suit of course — the directory may also be slightly different on Linux vs OS X).

Now tab completion works properly and life is good. =)

4 Comments

  1. Chmouel
    Posted November 9, 2008 at 4:44 pm | Permalink

    You probably want to put in your own directory and adjust fpath instead :

    http://zsh.dotsrc.org/Doc/Release/zsh_8.html

    Chmou.

  2. Posted November 16, 2008 at 12:04 am | Permalink

    hi, i move my blog to it’s own domain. please update your link to http://mkoga.com/zsh-tab-completion-fix-for-subversion-1-5. thanks

  3. Posted November 19, 2008 at 9:06 am | Permalink

    Thanks, Micah. I’ve fixed the link now.

  4. Posted March 11, 2009 at 3:48 am | Permalink

    As Micah’s server is down, I found instructions on this site:
    http://malsserver.blogspot.com/2009/02/zsh-tab-completion-fix-for-subversion.html

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*