summaryrefslogtreecommitdiff
path: root/Doc/Zsh/mod_system.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/mod_system.yo')
-rw-r--r--Doc/Zsh/mod_system.yo3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_system.yo b/Doc/Zsh/mod_system.yo
index dce07175f..7101e37dc 100644
--- a/Doc/Zsh/mod_system.yo
+++ b/Doc/Zsh/mod_system.yo
@@ -178,12 +178,15 @@ used.
vindex(sysparams)
item(tt(sysparams))(
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.