zsh-users
 help / color / mirror / code / Atom feed
* menu-select doesn't respect COMPLETE_IN_WORD option
@ 2020-06-09 23:56 Alan
  2020-06-10  1:11 ` Bart Schaefer
  0 siblings, 1 reply; 10+ messages in thread
From: Alan @ 2020-06-09 23:56 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-06-15  5:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 23:56 menu-select doesn't respect COMPLETE_IN_WORD option Alan
2020-06-10  1:11 ` Bart Schaefer
2020-06-10  1:53   ` Alan
2020-06-10  2:25     ` Alan
2020-06-11  2:33       ` Bart Schaefer
2020-06-11  3:26         ` Alan
2020-06-14  3:07           ` Bart Schaefer
2020-06-14  4:28             ` Alan
2020-06-15  0:37               ` Bart Schaefer
2020-06-15  5:09                 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).