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

Re: Bug in user guide



On 16 February 2011 14:48, cheer_xiao <xiaqqaix@xxxxxxxxx> wrote:
> On Wed, Feb 16, 2011 at 9:46 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> On 16 February 2011 14:33, 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?
>>
>> Note that ^Xh means ctrl-x h, not ctrl-x ctrl-h, that would be ^X^H.
>> And you want bindkey | grep complete
>
> I already knew this... Also, "bindkey | grep complete" gives:
> "^I" expand-or-complete

Have you run compinit?

-- 
Mikael Magnusson



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