Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding a prefix to certain filename completions
- X-seq: zsh-users 9028
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: Nikolai Weibull <mailing-lists.zsh-users@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Adding a prefix to certain filename completions
- Date: Mon, 4 Jul 2005 17:13:34 -0700 (PDT)
- Cc: zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20050704193711.GF6330@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050704193711.GF6330@xxxxxxxxxxxxxxxx>
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);}
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author