mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 10:07:03 +08:00
38 lines
883 B
Plaintext
38 lines
883 B
Plaintext
/**
|
|
\page commands Commands
|
|
\htmlonly[block]
|
|
<div class="fish_left_bar fish_left_little">
|
|
<div class="menu commands_menu">
|
|
\endhtmlonly
|
|
@command_list_toc@
|
|
|
|
\htmlonly[block]
|
|
</div>
|
|
</div>
|
|
<div class="commands fish_right_bar fish_right_big">
|
|
<h1 class="interior_title">Command reference</h1>
|
|
\endhtmlonly
|
|
`fish` ships with a large number of builtin commands, shellscript functions and external commands. These are all described below.
|
|
|
|
Almost all fish commands respond to the `-h` or `--help` options to display their relevant help, also accessible using the `help` and `man` commands, like so:
|
|
|
|
\fish
|
|
echo -h
|
|
echo --help
|
|
# Prints help to the terminal window
|
|
|
|
man echo
|
|
# Displays the man page in the system pager
|
|
# (normally 'less', 'more' or 'most').
|
|
|
|
help echo
|
|
# Open a web browser to show the relevant documentation
|
|
\endfish
|
|
|
|
@command_list@
|
|
|
|
\htmlonly[block]
|
|
</div>
|
|
\endhtmlonly
|
|
*/
|