about summary refs log tree commit diff
path: root/Doc/Zsh/mod_system.yo
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@ipost.com>2021-09-06 12:46:28 -0700
committerBart Schaefer <schaefer@ipost.com>2021-09-06 12:46:28 -0700
commita31fd3077d64bb319e9caabf4109721b9778a02d (patch)
treec154af414e3262deb3738d523161693dcaac8250 /Doc/Zsh/mod_system.yo
parentc0e5b212f32b3349e963ab2c49a2576bad9e7a08 (diff)
downloadzsh-a31fd3077d64bb319e9caabf4109721b9778a02d.tar.gz
zsh-a31fd3077d64bb319e9caabf4109721b9778a02d.tar.xz
zsh-a31fd3077d64bb319e9caabf4109721b9778a02d.zip
48888: improve doc for $$ and $PPID, add fail test for PPID readonly-ness
Diffstat (limited to 'Doc/Zsh/mod_system.yo')
-rw-r--r--Doc/Zsh/mod_system.yo6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo
index 8f525c576..399b6fe03 100644
--- a/Doc/Zsh/mod_system.yo
+++ b/Doc/Zsh/mod_system.yo
@@ -263,9 +263,9 @@ tt($$), which returns the process ID of the main shell process.
 )
 item(tt(ppid))(
 vindex(ppid, sysparams)
-Returns the process ID of the parent of the current process, even in
-subshells.  Compare tt($PPID), which returns the process ID of the parent
-of the main shell process.
+Returns the current process ID of the parent of the current process, even
+in subshells.  Compare tt($PPID), which returns the process ID of the
+initial parent of the main shell process.
 )
 item(tt(procsubstpid))(
 Returns the process ID of the last process started for process