From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 726 invoked from network); 3 Aug 2006 09:25:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Aug 2006 09:25:01 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 14993 invoked from network); 3 Aug 2006 09:24:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Aug 2006 09:24:55 -0000 Received: (qmail 19400 invoked by alias); 3 Aug 2006 09:24:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10574 Received: (qmail 19391 invoked from network); 3 Aug 2006 09:24:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Aug 2006 09:24:45 -0000 Received: (qmail 13696 invoked from network); 3 Aug 2006 09:24:45 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 3 Aug 2006 09:24:43 -0000 Received: from dalamsexb01.AMERICAS.ROOT.PRI ([65.208.56.47]) by rly31d.srv.mailcontrol.com (MailControl) with ESMTP id k739Kb9l011363 for ; Thu, 3 Aug 2006 10:24:38 +0100 Received: from cameurexb01.EUROPE.ROOT.PRI ([10.100.137.61]) by dalamsexb01.AMERICAS.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Thu, 3 Aug 2006 04:21:56 -0500 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Thu, 3 Aug 2006 10:21:54 +0100 Date: Thu, 3 Aug 2006 10:21:54 +0100 From: Peter Stephenson To: zsh-users@sunsite.dk Subject: Re: autocompletion of file url's Message-Id: <20060803102154.62bbe097.pws@csr.com> In-Reply-To: <44D1CB6A.6060908@sheffield.ac.uk> References: <44D11FDF.5060000@sheffield.ac.uk> <20060802223421.a65ccae4.p.w.stephenson@ntlworld.com> <44D1C210.3020302@sheffield.ac.uk> <44D1CB6A.6060908@sheffield.ac.uk> Organization: Cambridge Silicon Radio X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.6.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Aug 2006 09:21:54.0877 (UTC) FILETIME=[42F1B6D0:01C6B6DE] X-Scanned-By: MailControl A-07-04-01 (www.mailcontrol.com) on 10.68.0.141 Nathan Haigh wrote: > Replying to my own posts! :o) > > I have made some progress. I commented out 2 lines at the start of my > .zshrc file that were not in the .zshrc file on my works machine. These > were: > autoload -U compinit > compinit That's the wrong way to do it. You're now going back to the old "compctl"-based completion. That has no subversion completion built into it and you will be picking up whatever compctl instructions are around on your system. It's much harder to extend and in particular you're unlikely ever to get URLs working properly. Keep the lines above and check you have some version of zsh 4.2 or higher. After running those lines, "print $_comps[svn]" should output "_subversion". That's the completion function I patched yesterday. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php