2006-10-31 23:23:16 +08:00
\section fish fish - the friendly interactive shell
2006-10-26 18:20:59 +08:00
\subsection fish-synopsis Synopsis
2014-08-01 20:25:41 +08:00
\fish{synopsis}
2014-08-08 10:44:37 +08:00
fish [OPTIONS] [-c command] [FILE [ARGUMENTS...]]
2014-08-01 10:37:32 +08:00
\endfish
2006-10-26 18:20:59 +08:00
\subsection fish-description Description
2014-08-19 20:41:23 +08:00
`fish` is a command-line shell written mainly with interactive use in mind. The full manual is available <a href='index.html'>in HTML</a> by using the <a href='#help'>help</a> command from inside fish.
2006-10-26 18:20:59 +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-01 10:37:32 +08:00
- `-c` or `--command=COMMANDS` evaluate the specified commands instead of reading from the commandline
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-d` or `--debug-level=DEBUG_LEVEL` specify the verbosity level of fish. A higher number means higher verbosity. The default level is 1.
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-i` or `--interactive` specify that fish is to run in interactive mode
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-l` or `--login` specify that fish is to run as a login shell
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-n` or `--no-execute` do not execute any commands, only perform syntax checking
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-p` or `--profile=PROFILE_FILE` when fish exits, output timing information on all executed commands to the specified file
2014-08-19 20:41:23 +08:00
2014-08-01 10:37:32 +08:00
- `-v` or `--version` display version and exit
2006-10-26 18:20:59 +08:00
2016-05-16 10:45:02 +08:00
- `-D` or `--debug-stack-frames=DEBUG_LEVEL` specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128.
2014-08-19 20:41:23 +08:00
The fish exit status is generally the exit status of the last foreground command. If fish is exiting because of a parse error, the exit status is 127.