Fish (Unix shell): Difference between revisions

Content deleted Content added
Highlights: c/e run-on
m Highlights: extra word
Line 25:
 
==Highlights==
Fish has [[incremental search|search as you type]] automatic suggestions based on history and current directory. This functions like Bash's {{keypress|Ctrl|R}} history search, but is always on, giving the user gets continuous feedback while writing the command line. Users can select suggestions with the arrow keys, or as in Bash, press {{keypress|tab}} for a tab completion instead. [[command-line completion|Tab-completion]] is feature-rich and has expanding file paths (with [[wildcard character|wildcard]]s and [[Bash (Unix shell)#Brace expansion|brace expansion]]), variables, and many command specific completions. Command-specific completions, including options with descriptions, can to some extent be generated from the commands' [[man page|man pages]].
 
The creator of fish preferred to make features as commands rather than syntax. This makes features [[Discoverability|discoverable]] in terms of commands with options and help texts. [[Subroutine|Functions]] can also carry a human readable description. A special ''help'' command gives access to all the fish documentation in the user's [[web browser]].<ref>[https://www.linux.com/news/cli-magic-enhancing-shell-fish Linux.com]. CLI Magic: Enhancing the shell with fish. Retrieved 2010-03-24.</ref>