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

menu-select doesn't respect COMPLETE_IN_WORD option



Hi,

I have COMPLETE_IN_WORD set, but menu-select doesn't respect it. In my
~/.zshrc:

setopt completeinword
zmodload -i zsh/complist
zstyle ':completion:*' menu select=1

Example:

% ls dir/
bigfile bigfile1 smallfile
% ls dir/big_blahblah <where _ is the cursor position in the middle of the
text "bigblahblah" with no spaces, then execute menu-select>
No matches for: `files'

What I want to happen:
% ls dir/bigfile_blahblah <where _ is the cursor position>
files
bigfile bigfile1
(Then executing menu-select again switches to bigfile1 with the "blahblah"
part still appended:)
% ls dir/bigfile1_blahblah <where _ is the cursor position>
files
bigfile bigfile1

Is there any way to do this?

Thanks!

--Alan


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