Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Suggestion for Completion/Unix/Command/_ln
- X-seq: zsh-workers 29713
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Suggestion for Completion/Unix/Command/_ln
- Date: Sat, 20 Aug 2011 09:45:15 +0200
- Cc: Zsh Workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vJKmuynt6wFtJNaOvkI9oH5GiA/aXB5Qe78U3LIxZxM=; b=rX6jrwLw4PPjTgrSrV48Wtu/qrjsGdnyk+vXCsEzWOIuhPyEBm2XyHUs1nGlcqq7O0 p/4kJ4YmtZdOUEpcUdwc8vUsrwK1PUhYCUjn1Ny228zbdPWqb+pQAtiRkFxV5Rgh9/fA irqd5O1iAU9GkCIx5dGAl6sclWJkb9wrzB+Zw=
- In-reply-to: <CADdV=MtB+DYHjbX1XLQ-7YPzOa67i=kx9M1G5BYvrxke91JbEg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CADdV=MteKpg6z8hyFV9-U0tMbrY8jWfG+BsrzX5DCTpkJEz2Tg@mail.gmail.com> <20110819212323.6df1a054@pws-pc.ntlworld.com> <CADdV=MtB+DYHjbX1XLQ-7YPzOa67i=kx9M1G5BYvrxke91JbEg@mail.gmail.com>
- Sender: nikolai.weibull@xxxxxxxxx
On Sat, Aug 20, 2011 at 09:38, Nikolai Weibull <now@xxxxxxxx> wrote:
> On Fri, Aug 19, 2011 at 22:23, Peter Stephenson
> <p.w.stephenson@xxxxxxxxxxxx> wrote:
>> On Fri, 19 Aug 2011 13:05:08 +0200
>> Nikolai Weibull <now@xxxxxxxx> wrote:
>>> I have, however, not been able to get _pick_variant to work for
>>> zle/files. Can someone please suggest a way to handle it?
>> if [[ -n $builtins[ln] ]]; then ...
>>
>> should be good enough to test if ln is being provided by a builtin
>> (possibly not yet loaded).
> OK, thanks! I changed it to (( ${+builtins[ln]} )), as I like that
> pattern better.
>
> Here’s an updated version.
(I’ve committed it to CVS. I hope that was alright.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author