Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Suggestion for Completion/Unix/Command/_ln
- X-seq: zsh-workers 29708
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Re: Suggestion for Completion/Unix/Command/_ln
- Date: Fri, 19 Aug 2011 21:23:23 +0100
- In-reply-to: <CADdV=MteKpg6z8hyFV9-U0tMbrY8jWfG+BsrzX5DCTpkJEz2Tg@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>
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).
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author