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

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



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. 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?

/andrej



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