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

Re: Bug in user guide



On Wed, 16 Feb 2011 21:33:07 +0800
cheer_xiao <xiaqqaix@xxxxxxxxx> wrote:
> 6.4.1 of User Guide
> (http://zsh.sourceforge.net/Guide/zshguide06.html#l154) said
> 
> There's an easy way of finding out what context you are in: at the
> point where you want to complete something, instead type `^Xh', and it
> will tell you.
> 
> But it doesn't work here on my box. Nor was I able to find a
> pre-binded keystroke to perform this action. (I tried keybind | egrep
> '(context|completion)' .) Any hints?

The binding is to _complete_help; see
Completion/Base/Widget/_complete_help.  It should be set up by default
when compinit is run, though what happens after that is another matter.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom



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