mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08:00
2e034e767f
Widened 'Commands' menu + fish logo fish logo added to FAQ menu 'Commands' menu content aligned with Docs menu 'FAQ' menu content aligned and made 1st order as all entires are long and wrap.
39 lines
876 B
Plaintext
39 lines
876 B
Plaintext
/**
|
|
\page commands Commands
|
|
\htmlonly[block]
|
|
<div class="fish_left_bar">
|
|
<div class="logo"></div>
|
|
<div class="menu commands_menu">
|
|
\endhtmlonly
|
|
@command_list_toc@
|
|
|
|
\htmlonly[block]
|
|
</div>
|
|
</div>
|
|
<div class="commands fish_right_bar">
|
|
<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
|
|
*/
|