summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-13 11:45:26 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-13 11:45:26 +0000
commita707108a7544b9c2e5bd99cf51a4c5ba08558ade (patch)
tree6ed9560ed61e67132e547842fbe50affc32a86e4 /Doc
parent428abf6455c9df0dfaca05165764eb842da7e2d9 (diff)
downloadzsh-a707108a7544b9c2e5bd99cf51a4c5ba08558ade.tar.gz
zsh-a707108a7544b9c2e5bd99cf51a4c5ba08558ade.tar.xz
zsh-a707108a7544b9c2e5bd99cf51a4c5ba08558ade.zip
allow insert-tab to contain `pending[=num]' to handle the case when there is pending input (?)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo12
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 82975e0fd..f23f993fd 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1278,6 +1278,16 @@ insert a TAB character (assuming it was used to start completion) instead
 of performing completion when there is no non-blank character to the left
 of the cursor.  If set to `false', completion will be done even there.
 
+The value may also contain the substrings `tt(pending)' or
+`tt(pending=)var(val)' to make the character typed to start completion 
+be inserted instead of completion being tried when there is input
+pending which has not yet been processed by the shell. If a var(val)
+is given, completion will not be done if there are at least that many
+characters of unprocessed input. This is often useful to have set when 
+pasting characters into a terminal. Note however, that it relies on
+the tt($PENDING) special parameter from the tt(zle) module being set
+properly which is not guaranteed on all platforms.
+
 The default value of this style is `true' unless when completing
 inside the tt(vared) builtin command, where it defaults to `false'.
 )
@@ -2442,7 +2452,7 @@ Unlike tt(_expand) this uses a `tt(1)' (one) as the default
 value for the tt(substitute) and tt(glob) styles, so both types of
 expansion will normally be performed.
 )
-findex(_history_complete_word) (\e/)
+findex(_history_complete_word) (\e/))
 item(tt(_history_complete_word) (\e/))(
 Complete words from the shell's command history. This uses the
 tt(list), tt(remove-all-dups), tt(sort), and tt(stop) styles.