about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-04-09 20:44:58 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-04-09 20:44:58 +0900
commit8a9aea907ac4844e2ee7348c4fa6417ae9873991 (patch)
tree55eca9b97d1925990d78edcb333e83fc9489ec1b /Doc/Zsh
parent98b4d4bdca15393d3cce9e072867ee6526de5d2e (diff)
downloadzsh-8a9aea907ac4844e2ee7348c4fa6417ae9873991.tar.gz
zsh-8a9aea907ac4844e2ee7348c4fa6417ae9873991.tar.xz
zsh-8a9aea907ac4844e2ee7348c4fa6417ae9873991.zip
51631: initialize $_ by copying it from environment
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/params.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 528c27f93..2db4210eb 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -779,7 +779,10 @@ last pipeline.
 )
 vindex(_)
 item(tt(_) <S>)(
-The last argument of the previous command.
+Initially, if tt(_) exists in the environment, then this parameter is set to
+its value. This value may be the full pathname of the current zsh
+executable or the script command file.
+Later, this parameter is set to the last argument of the previous command.
 Also, this parameter is set in the environment of every command
 executed to the full pathname of the command.
 )