about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:50:16 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:50:16 -0700
commit89c2129905d067b2d52c70f5b453561bb782da89 (patch)
treebcb21e52597ab897dc83c12652d6365aa2f7c36d
parent89a689e69376909265d94ad8c2119d607ef7cb3d (diff)
downloadzsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.gz
zsh-89c2129905d067b2d52c70f5b453561bb782da89.tar.xz
zsh-89c2129905d067b2d52c70f5b453561bb782da89.zip
34961: sysparams[pid] and sysparams[ppid] added to variables index
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/mod_system.yo2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a76808be2..9dd9bcc2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-04-25  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid]
+	added to variables index
+
 	* 34961: Src/compat.c, Src/init.c: replace a couple of free() with
 	zfree() for consistency.
 
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo
index d6b3765ff..7101e37dc 100644
--- a/Doc/Zsh/mod_system.yo
+++ b/Doc/Zsh/mod_system.yo
@@ -181,10 +181,12 @@ A readonly associative array.  The keys are:
 
 startitem()
 item(tt(pid))(
+vindex(pid, sysparams)
 Returns the process ID of the current process, even in subshells.  Compare
 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.