Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion and globbing, part 2
- X-seq: zsh-users 3433
- From: "E. Jay Berkenbilt" <ejb@xxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: completion and globbing, part 2
- Date: Sun, 17 Sep 2000 20:17:09 -0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
It occurred to me that if the analysis in my last message was true,
the following would work:
zstyle ':completion:*' completer _oldlist _complete _qcomp _ignored
bindkey "^I" complete-word
where _qcomp is defined as follows:
#autoload
compstate[pattern_match]='*'
compstate[insert]=all
ret=1
_complete && ret=0
return ret
This does, in fact, give me exactly the behavior I'm looking for
without using _expand or _match.
(I also added _ignored, but that doesn't have anything to do with
this.)
--
E. Jay Berkenbilt (ejb@xxxxxx) | http://www.ql.org/q/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author