about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-12-15 22:45:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-12-15 22:45:27 +0000
commit6eb5f99f1e71e8ea89057c2843f3e8273a0d2fdd (patch)
tree1b1a681b89fe613b3405da6ee630bbb86d15b17f /Doc/Zsh
parentff1feb920f80f58581a79dc6256cc25364b8fe7d (diff)
downloadzsh-6eb5f99f1e71e8ea89057c2843f3e8273a0d2fdd.tar.gz
zsh-6eb5f99f1e71e8ea89057c2843f3e8273a0d2fdd.tar.xz
zsh-6eb5f99f1e71e8ea89057c2843f3e8273a0d2fdd.zip
19295: $CONTEXT zle parameter
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/zle.yo19
1 files changed, 19 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 409a04026..0ebbb2739 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -593,6 +593,25 @@ The number of screen lines needed for the edit buffer currently
 displayed on screen (i.e. without any changes to the preceding
 parameters done after the last redisplay); read-only.
 )
+vindex(CONTEXT)
+item(tt(CONTEXT) (scalar))(
+The context in which zle was called to read a line; read-only.  One of
+the values:
+startitem()
+item(start)(
+The start of a command line (at prompt tt(PS1)).
+)
+item(cont)(
+A continuation to a command line (at prompt tt(PS2)).
+)
+item(select)(
+In a tt(select) loop.
+)
+item(vared)(
+Editing a variable in tt(vared).
+)
+enditem()
+)
 vindex(CURSOR)
 item(tt(CURSOR) (integer))(
 The offset of the cursor, within the edit buffer.  This is in the range