Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ideas: free-search-complete, noexpand
- X-seq: zsh-workers 4267
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: ideas: free-search-complete, noexpand
- Date: Wed, 5 Aug 1998 08:29:01 +0200 (MET DST)
- In-reply-to: "Bart Schaefer"'s message of Tue, 4 Aug 1998 14:37:11 -0700
Bart Schaefer wrote:
>
> On Aug 4, 8:49pm, Johan Sundström wrote:
> > Subject: ideas: free-search-complete, noexpand
> >
> > Wouldn't it be really nice if there was a completion mechanism that
> > wasn't locked to complete from the beginning of your word only, but
> > instead would find "mark_dirs" from a larger list of possible
> > completions, given the string "dir"?
>
> It's called "globcomplete":
>
> zsh% setopt globcomplete automenu
> zsh% setopt *dir*<TAB>
> zsh% setopt autonamedirs<TAB>
> zsh% setopt hashdirs<TAB>
> zsh% setopt markdirs
>
> > I'd love this one --- am I the only one who always seems to remember
> > parts of filenames that aren't their first characters? :-/
>
> Yup, you seem to want globcomplete.
>
I guess he is lazy enough to want to get this without having to type
the `*'s. Some time ago I posted a patch that added partial word
completion, case insensitive completion, and an option called autoglob
which implemented this. Andrew decided that it shouldn't go into the
baseline. I have some ideas (based upon some older ideas from Peter)
for a suggestion to control the matching behaviour of completion
in a zsh'ish way, so that it should be powerful enough to get this and
other things. You will hear more about this when (and if) I find some
time to implement it so that you can play with it.
And while I'm at it... our network acces works again for some days now
and it seems that I received all messages from the list, so I guess
noone has found the time/was interested enough to look at my last
patch, right?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author