Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fun with zsh (Re: Associative array ordering (Re: Example function))
- X-seq: zsh-workers 5268
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Fun with zsh (Re: Associative array ordering (Re: Example function))
- Date: Fri, 5 Feb 1999 09:58:30 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Fri, 5 Feb 1999 00:33:29 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Feb 5, 8:45am, Sven Wischnowsky wrote:
> } Subject: Re: Fun with zsh (Re: Associative array ordering (Re: Example fun
> }
> } pindex(GLOB_COMPLETE)
> } item(tt(GLOB_COMPLETE))(
> } When the current word has a glob pattern, do not insert all the words
> } +resulting from the expansion but collect matches as for completion and
> ^^^^^^^^^^^^^^^^^^^^^^
> Something about this phrase
> bothers me. "generate matches"?
Considering that we often use the word generate for this, it would be
better, yes.
> } +cycle through them like tt(MENU_COMPLETE). If no matches are found, a
> } +`tt(*)' is added to the end of the word or inserted at the cursor if
> } +tt(COMPLETE_IN_WORD) is set, and completion is attempted again using
> } +pattern matching. Since this doesn't use globbing, it not only for
> ^^*^^^^^^^^^^^^
> it is not only?
> it works not only?
I accidentally removed the `works', oops.
Thanks!
Bye
Sven
diff -u ood/Zsh/options.yo Doc/Zsh/options.yo
--- ood/Zsh/options.yo Fri Feb 5 09:55:15 1999
+++ Doc/Zsh/options.yo Fri Feb 5 09:56:09 1999
@@ -340,11 +340,11 @@
pindex(GLOB_COMPLETE)
item(tt(GLOB_COMPLETE))(
When the current word has a glob pattern, do not insert all the words
-resulting from the expansion but collect matches as for completion and
+resulting from the expansion but generate matches as for completion and
cycle through them like tt(MENU_COMPLETE). If no matches are found, a
`tt(*)' is added to the end of the word or inserted at the cursor if
tt(COMPLETE_IN_WORD) is set, and completion is attempted again using
-pattern matching. Since this doesn't use globbing, it not only for
+pattern matching. Since this doesn't use globbing, it works not only for
files but for all completions, such as options, user names, etc.
)
pindex(GLOB_DOTS)
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author