Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: autocompletion of file url's
- X-seq: zsh-users 10574
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: autocompletion of file url's
- Date: Thu, 3 Aug 2006 10:21:54 +0100
- In-reply-to: <44D1CB6A.6060908@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
- References: <44D11FDF.5060000@xxxxxxxxxxxxxxx> <20060802223421.a65ccae4.p.w.stephenson@xxxxxxxxxxxx> <44D1C210.3020302@xxxxxxxxxxxxxxx> <44D1CB6A.6060908@xxxxxxxxxxxxxxx>
Nathan Haigh <n.haigh@xxxxxxxxxxxxxxx> 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 <pws@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author