Skip to main content

zsh_subshell

Static zsh_subshell 

Source
pub static zsh_subshell: Atomic<i32>
Expand description

Port of mod_export int zsh_subshell; from Src/init.c:67. Visible $ZSH_SUBSHELL parameter — incremented by entersubsh() each time the shell forks into a subshell (real or fake-exec). Distinct from subsh which records whether we ARE a subshell; zsh_subshell is the visible depth count.