zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: Suggestion for Completion/Unix/Command/_ln
Date: Fri, 19 Aug 2011 21:23:23 +0100	[thread overview]
Message-ID: <20110819212323.6df1a054@pws-pc.ntlworld.com> (raw)
In-Reply-To: <CADdV=MteKpg6z8hyFV9-U0tMbrY8jWfG+BsrzX5DCTpkJEz2Tg@mail.gmail.com>

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).

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


  reply	other threads:[~2011-08-19 20:23 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 [this message]
2011-08-20  7:38   ` Nikolai Weibull
2011-08-20  7:45     ` Nikolai Weibull

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=20110819212323.6df1a054@pws-pc.ntlworld.com \
    --to=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).