Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: different kind of glob_complete?
- X-seq: zsh-users 2567
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: different kind of glob_complete?
- Date: Fri, 3 Sep 1999 14:40:03 +0000
- In-reply-to: <990903093156.ZM25241@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909030741.JAA03749@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <990903093156.ZM25241@xxxxxxxxxxxxxxxxxxxxxxx>
On Sep 3, 9:31am, Bart Schaefer wrote:
} Subject: Re: different kind of glob_complete?
}
} [...] even in 3.0.5 the behavior
} is the same as 3.1.6. So I need to correct the 3.0.6 doc.
I found the 3.1.6 doc slightly confusing, so here's a patch for it, which
matches what I'm putting into the 3.0.6 doc:
Index: Doc/Zsh/options.yo
===================================================================
@@ -389,11 +389,11 @@
item(tt(GLOB_COMPLETE))(
When the current word has a glob pattern, do not insert all the words
resulting from the expansion but generate matches as for completion and
-cycle through them like tt(MENU_COMPLETE). The matches are generated
-as if a `tt(*)' is added to the end of the word or inserted at the cursor if
-tt(COMPLETE_IN_WORD) is set. Since this doesn't use globbing, it
-works not only for files but for all completions, such as options,
-user names, etc.
+cycle through them like tt(MENU_COMPLETE). The matches are generated as if
+a `tt(*)' was added to the end of the word, or inserted at the cursor when
+tt(COMPLETE_IN_WORD) is set. This actually uses pattern matching, not
+globbing, so it works not only for files but for any completion, such as
+options, user names, etc.
)
pindex(GLOB_DOTS)
cindex(globbing, of . files)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author