From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7259 invoked from network); 4 Jul 2005 19:37:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Jul 2005 19:37:30 -0000 Received: (qmail 40826 invoked from network); 4 Jul 2005 19:37:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 19:37:22 -0000 Received: (qmail 19276 invoked by alias); 4 Jul 2005 19:37:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9026 Received: (qmail 19267 invoked from network); 4 Jul 2005 19:37:16 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Jul 2005 19:37:16 -0000 Received: (qmail 39824 invoked from network); 4 Jul 2005 19:37:15 -0000 Received: from mxfep01.bredband.com (195.54.107.70) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 19:37:09 -0000 Received: from puritan.pnetwork ([213.112.43.228] [213.112.43.228]) by mxfep01.bredband.com with ESMTP id <20050704193709.TQPZ24612.mxfep01.bredband.com@puritan.pnetwork> for ; Mon, 4 Jul 2005 21:37:09 +0200 Received: by puritan.pnetwork (Postfix, from userid 1000) id BBADFADFEA; Mon, 4 Jul 2005 21:37:11 +0200 (CEST) Date: Mon, 4 Jul 2005 21:37:11 +0200 From: Nikolai Weibull To: zsh-users Subject: Adding a prefix to certain filename completions Message-ID: <20050704193711.GF6330@puritan.pnetwork> Mail-Followup-To: zsh-users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i 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 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);}