Contains the ID of the parent process of the current process.
FeedbackOpens in a new tab
$ZPARENT contains the ID of the parent process that created the current process with the JOB command. If the current process was not created with the JOB command, $ZPARENT contains 0 (zero).
This special variable cannot be modified using the SET command. Attempting to do so results in a <SYNTAX> error.