fish man page
fish The following options are available: 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. systemctl(1).
fish -c "command"
fish --no-execute file.fish
set -Ux variable_name variable_value
fish - the friendly interactive shell
fish [OPTIONS] [-c command] [FILE [ARGUMENTS...]]
fish is a command-line shell written mainly with interactive use in mind. The full manual is available
in HTML by using the
help command from inside fish.
--command=COMMANDS evaluate the specified commands instead of reading from the commandline
--init-command=COMMANDS evaluate the specified commands after reading the configuration, before running the command specified by
-c or reading interactive input
--debug-level=DEBUG_LEVEL specify the verbosity level of fish. A higher number means higher verbosity. The default level is 1.
--interactive specify that fish is to run in interactive mode
--login specify that fish is to run as a login shell
--no-execute do not execute any commands, only perform syntax checking
--profile=PROFILE_FILE when fish exits, output timing information on all executed commands to the specified file
--version display version and exit
--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.
--features=FEATURES enables one or more feature flags (separated by a comma). These are how fish stages changes that might break scripts.
The following options are available:
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.