\section status status - Query fish runtime information
\subsection status-synopsis Synopsis
status [OPTION]
\subsection status-description Description
- -c or --is-command-substitution returns 0 if fish is currently executing a command substitution
- -b or --is-block returns 0 if fish is currently executing a block of code
- -i or --is-interactive returns 0 if fish is interactive, i.e.connected to a keyboard
- -l or --is-login returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH.