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

Re: what happened to accept-and-infer-next-hostory ?



Andrej Borsenkow wrote:

> Do I miss something?
> 
> bor@itsrm2:~%> grep menuselect ~/.zshrc
> bindkey -M menuselect '/' accept-and-infer-next-history
> bor@itsrm2:~%> bindkey -L | grep menus
> bor@itsrm2:~%>
> 
> I remember, bindkey -L listed bindings for all keymaps. Actually, it looks, like
> it is not possible to list just a selected keymap at all:
> 
> bor@itsrm2:~%> bindkey -M menuselect -L
> "-L" undefined-key
> 
> It tries to lookup binding for a given argument.

Never occured to me. Urgh.

> But, still:
> 
> bor@itsrm2:~%> bindkey -M menuselect /
> "/" accept-and-infer-next-history
> 
> so far so good. And now
> 
> bor@itsrm2:~%> cd zsh<TAB>
> bor@itsrm2:~%> cd zsh
> zsh/               zsh-3.1.6-bart-8/  zsh-3.1.6-pws-10/  zsh-3.1.6-pws-11/
> 
> moving to pws-11:
> 
> bor@itsrm2:~%> cd zsh-3.1.6-pws-11/
> zsh/               zsh-3.1.6-bart-8/  zsh-3.1.6-pws-10/  zsh-3.1.6-pws-11/
> 
> and now pressing '/'
> 
> bor@itsrm2:~%> cd zsh-3.1.6-pws-11/
> 
> Should it not complete directories inside of zsh-xxx now?

Which it does for me. Hm, do I have to get pws-11 now to see if/how
this differs from the CVS version? Have you tried with `zsh -f'?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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