2006-10-31 23:23:16 +08:00
|
|
|
\section status status - query fish runtime information
|
2005-09-20 22:11:05 +08:00
|
|
|
|
|
|
|
\subsection status-synopsis Synopsis
|
2014-08-01 20:25:41 +08:00
|
|
|
\fish{synopsis}
|
2014-08-01 10:37:32 +08:00
|
|
|
status [OPTION]
|
|
|
|
\endfish
|
2005-09-20 22:11:05 +08:00
|
|
|
|
|
|
|
\subsection status-description Description
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
With no arguments, `status` displays a summary of the current login and job control status of the shell.
|
2013-04-29 13:45:14 +08:00
|
|
|
|
Help cleanup
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-12 15:56:01 +08:00
|
|
|
The following options are available:
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-c` or `--is-command-substitution` returns 0 if fish is currently executing a command substitution.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-b` or `--is-block` returns 0 if fish is currently executing a block of code.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-i` or `--is-interactive` returns 0 if fish is interactive - that is, connected to a keyboard.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-l` or `--is-login` returns 0 if fish is a login shell - that is, if fish should perform login tasks such as setting up the PATH.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `--is-full-job-control` returns 0 if full job control is enabled.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `--is-interactive-job-control` returns 0 if interactive job control is enabled.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `--is-no-job-control` returns 0 if no job control is enabled.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-f` or `--current-filename` prints the filename of the currently running script.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-n` or `--current-line-number` prints the line number of the currently running script.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-j CONTROLTYPE` or `--job-control=CONTROLTYPE` sets the job control type, which can be `none`, `full`, or `interactive`.
|
2014-08-19 20:41:23 +08:00
|
|
|
|
2014-08-01 10:37:32 +08:00
|
|
|
- `-t` or `--print-stack-trace` prints a stack trace of all function calls on the call stack.
|