From 21c0b276135a7fd58b25abc61fcdcb171bec2fcd Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 12 Jan 2005 13:42:00 +0000 Subject: users/8354: Document limitation of glob_complete and matching control --- ChangeLog | 3 +++ Doc/Zsh/options.yo | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3904c5f7b..d0325ff68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-01-12 Peter Stephenson + * users/8354: Doc/Zsh/options.yo: with glob_complete, completing + a word with a pattern does not use matching control. + * unposted: Config/version.mk, README, Etc/FAQ.yo: release zsh version 4.2.2. diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index fdd498c50..a49253e72 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -215,6 +215,11 @@ 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. + +Note that when the pattern matcher is used, matching control (for example, +case-insensitive or anchored matching) cannot be used. This limitation +only applies when the current word contains a pattern; simply turning +on the tt(GLOB_COMPLETE) option does not have this effect. ) pindex(HASH_LIST_ALL) item(tt(HASH_LIST_ALL) )( -- cgit 1.4.1