zsh-users
 help / color / mirror / code / Atom feed
* Problem with complete-all
@ 2004-08-13  7:45 Jesper Holmberg
  2004-08-13  9:33 ` Oliver Kiddle
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Holmberg @ 2004-08-13  7:45 UTC (permalink / raw)
  To: Zsh-users List

I can't get complete-all to work as I would like it to. Perhaps I have
misunderstood what it's supposed to be doing, so I'll try to describe what
I want to accomplish.

I use the new completion system with menu-complete bound to <TAB>.
Suppose that I have a directory which is under CVS version control, and
that I have added a couple of files to this directory. If I now go: 

cvs add <TAB>

the completion system supplies one of the added files, which is very nice.
Pressing <TAB> again switches to the next added file, until I have cycled
through them all.

Now, what I thought would be possible to accomplish with complete-all
(bound to, say, '^Xx') would be that when I go:

cvs add ^Xx

all the files which have been added would be put on the command line at
the same time. However, what happens is that zsh beeps and nothing else,
not even an error message. Doing a 'describe-key-briefly' on '^Xx' shows
'all-matches'.

This is what I have in my .zshrc, taken from the manual:

zle -C all-matches complete-word _generic
bindkey '^Xx' all-matches
zstyle ':completion:all-matches:*' old-matches only
zstyle ':completion:all-matches::::' completer _all_matches

What am I doing wrong?

TIA,

Jesper


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

end of thread, other threads:[~2004-08-17 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13  7:45 Problem with complete-all Jesper Holmberg
2004-08-13  9:33 ` Oliver Kiddle
2004-08-13  9:58   ` Oliver Kiddle
2004-08-16  6:46   ` Jesper Holmberg
2004-08-17 10:28     ` Jesper Holmberg

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