From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5612 invoked from network); 5 Jul 2005 00:13:46 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Jul 2005 00:13:46 -0000 Received: (qmail 77694 invoked from network); 5 Jul 2005 00:13:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jul 2005 00:13:33 -0000 Received: (qmail 22013 invoked by alias); 5 Jul 2005 00:13:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9028 Received: (qmail 22003 invoked from network); 5 Jul 2005 00:13:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Jul 2005 00:13:26 -0000 Received: (qmail 76610 invoked from network); 5 Jul 2005 00:13:26 -0000 Received: from vanunu.ucsc.edu (128.114.141.22) by a.mx.sunsite.dk with SMTP; 5 Jul 2005 00:13:21 -0000 Received: from localhost (localhost [127.0.0.1]) by vanunu.ucsc.edu (Postfix) with ESMTP id E38786144E5; Mon, 4 Jul 2005 17:13:34 -0700 (PDT) Date: Mon, 4 Jul 2005 17:13:34 -0700 (PDT) From: William Scott X-X-Sender: wgscott@vanunu.ucsc.edu To: Nikolai Weibull Cc: zsh-users Subject: Re: Adding a prefix to certain filename completions In-Reply-To: <20050704193711.GF6330@puritan.pnetwork> Message-ID: References: <20050704193711.GF6330@puritan.pnetwork> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Dear Nikolai: If I am understanding the question correctly, I think you need something like compadd -P "./" but I don't know if that will cure the problem with the + signs. Bill Scott Born in Chicago, IL USA; currently residing in Santa Crud, CA On Mon, 4 Jul 2005, Nikolai Weibull wrote: > Vim has issues with files that begin with a + (or two +s for that > matter), so I'd like to add a ./ prefix to such files when completing. > I thought I knew how to do this, but alas I do not. Anyone that does? > > Thanks, > nikolai > > -- > Nikolai Weibull: now available free of charge at http://bitwi.se/! > Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. > main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} >