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

Re: Calling completion function from a non-completion ZLE widget



On May 30,  9:59am, Sven Wischnowsky wrote:
}
} Bart Schaefer wrote:
} 
} > What's a reliable way to determine that the completion system is active?
} > (Testing a parameter won't do it, the user could always set another of
} > the same name.)
} 
} Hm, no parameter? Even if ${(t)compstate} yields `association-local-special'?

Ah, I forgot about (t).  Yes, that would probably suffice.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author