2006-10-31 15:23:16 +00:00
|
|
|
\section status status - query fish runtime information
|
2005-09-20 14:11:05 +00:00
|
|
|
|
|
|
|
\subsection status-synopsis Synopsis
|
|
|
|
<tt>status [OPTION]</tt>
|
|
|
|
|
|
|
|
\subsection status-description Description
|
2006-01-23 23:17:06 +00:00
|
|
|
- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command substitution
|
2005-09-20 14:11:05 +00:00
|
|
|
- <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code
|
|
|
|
- <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive, i.e.connected to a keyboard
|
2006-01-23 23:17:06 +00:00
|
|
|
- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH.
|