6
2
Let's say I have the following files in the directory:
- abc123ABC
- abc123QWE
- abc456
Now suppose I type a and hit TAB.
In bash the completion as it usually works would just complete abc and stop with me having to "resolve" the next symbol. so if I type 1 I'll be able to complete to abc123 with the next TAB.
In zsh, at least in the way it is configured on my machine it will complete the whole variant, the first one in this case: abc123ABC and present me with the menu to change that to other variants.
This is usually good, but it turns out ugly and completely useless when there are a lot of files to complete. usually in such cases it would be easy/trivial to narrow down the choices by typing a couple of characters after the 'common' part.
I like the menu part but I'd really prefer for it to only complete the 'common' parts and complete in full on second TAB or using menu, but still w/o losing the ability to manually narrow the choices by typing a character or two.
Is there anything like that supported in zsh?
thanks, we are almost there... ;) at first it didn't work, then I tried to disable all my other completion settings and it did work. so I started to bisect the config and at the end the conflicting option is zstyle ':completion:::::*' menu yes select
The problem is I really like it ;) the menu is good, I like to choose the options with the arrow keys. is it possible for them to work together? – Vitaly Kushner – 2010-07-07T14:25:24.983
oh, btw, if you need, my zsh config is at http://github.com/astrails/dotzsh
– Vitaly Kushner – 2010-07-07T14:26:15.683