summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/params.yo
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-02-17 09:57:05 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2014-02-17 09:57:05 -0800
commit76ab661df3015f5adc10ff58ba5ea773901753bf (patch)
tree909e6f4b1d104a284819dbefeb73a2665390e397 /Doc/Zsh/params.yo
parent32388: zparseopts -K preserves individual associative array elements (diff)
downloadzsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar.gz
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar.bz2
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar.lz
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar.xz
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.tar.zst
zsh-76ab661df3015f5adc10ff58ba5ea773901753bf.zip
unposted: document interactions of "fc -R" etc. with "fc -l" and $HISTCMD
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r--Doc/Zsh/params.yo7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 935fd5d86..cf2ad34d4 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -599,9 +599,10 @@ group ID by `tt(LPAR()GID=)var(gid)tt(; command+RPAR())'
)
vindex(HISTCMD)
item(tt(HISTCMD))(
-The current history line number in an interactive shell, in other
-words the line number for the command that caused tt($HISTCMD)
-to be read.
+The current history event number in an interactive shell, in other
+words the event number for the command that caused tt($HISTCMD)
+to be read. If the current history event modifies the history,
+tt(HISTCMD) changes to the new maximum history event number.
)
vindex(HOST)
item(tt(HOST))(