about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-11-16 19:05:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-11-16 19:05:50 +0000
commitba32e5229264d45029e27d40d8c3bf3b5fdeec51 (patch)
tree5538360837002bcb76b2bf8d33104872bb685c2d /Doc/Zsh/zle.yo
parentfece5e8960b0d6200c1a84690bc242c945fdfb1e (diff)
downloadzsh-ba32e5229264d45029e27d40d8c3bf3b5fdeec51.tar.gz
zsh-ba32e5229264d45029e27d40d8c3bf3b5fdeec51.tar.xz
zsh-ba32e5229264d45029e27d40d8c3bf3b5fdeec51.zip
users/8219: add $HISTCMD
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 39d28a49d..522f9f714 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -645,7 +645,10 @@ item(tt(HISTNO) (integer))(
 The current history number.  Setting this has the same effect as
 moving up or down in the history to the corresponding history line.
 An attempt to set it is ignored if the line is not stored in the
-history.
+history.  Note this is not the same as the parameter tt(HISTCMD),
+which always gives the number of the history line being added to the main
+shell's history.  tt(HISTNO) refers to the line being retrieved within
+zle.
 )
 vindex(KEYMAP)
 item(tt(KEYMAP) (scalar))(