summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-08 10:32:47 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-08 10:32:47 +0000
commit5c90cf1a51b176badb0095a089df132fc5f62746 (patch)
treed2117774926e1e19959dd0c24f6810a289b050ec /Doc/Zsh
parent40e4f4c40b8da652eded74fb3c607c2fb289a10f (diff)
downloadzsh-5c90cf1a51b176badb0095a089df132fc5f62746.tar.gz
zsh-5c90cf1a51b176badb0095a089df132fc5f62746.tar.xz
zsh-5c90cf1a51b176badb0095a089df132fc5f62746.zip
more fixes for completion of special characters (quoting) (12565)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/mod_computil.yo6
1 files changed, 4 insertions, 2 deletions
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.
 )