Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Suggestion for Completion/Unix/Command/_ln



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