[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ZSH Subversion tab completion module

From: Andrew Ruder <aeruder_at_ksu.edu>
Date: 2006-01-26 10:22:39 CET

Hello all,

I just thought I'd throw this out to anyone else who might be interested
in an improved zsh subversion tab completion. It is a simple (well, not
so simple when its the first time you've seen a completion module) hack
on the _subversion completion module that adds tab completion into a svn
repository.

Example:

andy_at_looper ~ $ svn co http://aeruder.ath.cx:7777/svn/TalkSoup/<TAB>
branches/ historical/ packaging/ tags/ trunk/

And just in case you don't know how to use this, this is what I did.
Before the lines that look like:

autoload -U compinit
compinit

in your .zshrc, somewhere you should add a:

fpath=(~/.zshfunc $fpath)
autoload -U ~/.zshfunc/_*(:t)

Then just make a directory ~/.zshfunc and put the attached file in
there.

I'm sure if there is anybody using subversion out there you'll find it
very handy, I know I have. Get back to me if you find any bugs. :)

Cheers,
Andrew Ruder

-- 
Andrew Ruder
http://www.aeruder.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Thu Jan 26 14:06:51 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.