From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3670 invoked from network); 5 Jul 2005 04:30:24 -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 04:30:24 -0000 Received: (qmail 90682 invoked from network); 5 Jul 2005 04:30:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jul 2005 04:30:17 -0000 Received: (qmail 13872 invoked by alias); 5 Jul 2005 04:30:11 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9029 Received: (qmail 13862 invoked from network); 5 Jul 2005 04:30:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Jul 2005 04:30:10 -0000 Received: (qmail 89695 invoked from network); 5 Jul 2005 04:30:10 -0000 Received: from karnickel.franken.de (193.141.110.11) by a.mx.sunsite.dk with SMTP; 5 Jul 2005 04:30:04 -0000 Received: from karnickel.franken.de (localhost [127.0.0.1]) by karnickel.franken.de (8.12.10/8.12.10) with ESMTP id j654U1YB020309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2005 06:30:02 +0200 (CEST) Received: (from uucp@localhost) by karnickel.franken.de (8.12.10/8.12.2/Submit) with UUCP id j654PDA8018805 for zsh-users@sunsite.dk; Tue, 5 Jul 2005 06:25:13 +0200 (CEST) (envelope-from jean-luc@picard.franken.de) Received: by picard.franken.de (Postfix, from userid 1001) id B6B554401C; Tue, 5 Jul 2005 06:23:24 +0200 (CEST) Date: Tue, 5 Jul 2005 06:23:24 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: zsh-users Subject: Re: Adding a prefix to certain filename completions Message-ID: <20050705042324.GA21301@picard.franken.de> Mail-Followup-To: zsh-users References: <20050704193711.GF6330@puritan.pnetwork> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20050704193711.GF6330@puritan.pnetwork> X-Operating-System: Linux X-Editor: VIM - Vi IMproved 6.2 http://www.vim.org/ X-IRC: tirc; Nick: tkoehler X-URL: http://jeanluc-picard.de/ User-Agent: Mutt/1.5.4i 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 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? Not knowing the zsh answer, I would add a "--" once before the "strange" file name: vim -- +myfile Should help... Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de <>< WWW: http://gott-gehabt.de IRC: tkoehler PGP public key available from Homepage! --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFCygs8TEYXWMJlHuYRAvc/AJ9rO0++Hq0yMbQRzCEv0OAMPuVDJgCfcr/G 7sLpAYxx4T8hewGK7AwsTbI= =QwqQ -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--