From 5c90cf1a51b176badb0095a089df132fc5f62746 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 8 Aug 2000 10:32:47 +0000 Subject: more fixes for completion of special characters (quoting) (12565) --- Doc/Zsh/mod_computil.yo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh/mod_computil.yo') diff --git a/Doc/Zsh/mod_computil.yo b/Doc/Zsh/mod_computil.yo index a0bc3767d..8d50c4a45 100644 --- a/Doc/Zsh/mod_computil.yo +++ b/Doc/Zsh/mod_computil.yo @@ -61,7 +61,7 @@ and unsorted, both without removing duplicates, with removing all duplicates and with removing consecutive duplicates). ) findex(compquote) -item(tt(compquote) var(names) ...)( +item(tt(compquote) [ tt(-p) ] var(names) ...)( There may be reasons to write completion functions that have to add the matches using the tt(-Q) option to tt(compadd) and perform quoting themselves. Instead of interpreting the first character of the @@ -69,7 +69,9 @@ tt(all_quotes) key of the tt(compstate) special association and using the tt(q) flag for parameter expansions, one can use this builtin command. The arguments are the names of scalar or array parameters and the values of these parameters are quoted as needed for the -innermost quoting level. +innermost quoting level. If the tt(-p) option is given, quoting is +done as if there is some prefix before the values of the parameters, +so that a leading equal sign will not be quoted. The return value is non-zero in case of an error and zero otherwise. ) -- cgit 1.4.1