zsh-workers
 help / color / mirror / code / Atom feed
From: Nikolai Weibull <now@bitwi.se>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: Suggestion for Completion/Unix/Command/_ln
Date: Sat, 20 Aug 2011 09:45:15 +0200	[thread overview]
Message-ID: <CADdV=MupY=LN3=0HMU5Bk2bZHgvrBzqc2cgbm=+_4KJJovBaww@mail.gmail.com> (raw)
In-Reply-To: <CADdV=MtB+DYHjbX1XLQ-7YPzOa67i=kx9M1G5BYvrxke91JbEg@mail.gmail.com>

On Sat, Aug 20, 2011 at 09:38, Nikolai Weibull <now@bitwi.se> wrote:
> On Fri, Aug 19, 2011 at 22:23, Peter Stephenson
> <p.w.stephenson@ntlworld.com> wrote:
>> On Fri, 19 Aug 2011 13:05:08 +0200
>> Nikolai Weibull <now@bitwi.se> 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.)


      reply	other threads:[~2011-08-20  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 11:05 Nikolai Weibull
2011-08-19 20:23 ` Peter Stephenson
2011-08-20  7:38   ` Nikolai Weibull
2011-08-20  7:45     ` Nikolai Weibull [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADdV=MupY=LN3=0HMU5Bk2bZHgvrBzqc2cgbm=+_4KJJovBaww@mail.gmail.com' \
    --to=now@bitwi.se \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).