Content deleted Content added
Citation bot (talk | contribs) Add: website, date. | Use this bot. Report bugs. | Suggested by Abductive | #UCB_webform 7/3850 |
|||
Line 32:
==Syntax==
The syntax resembles a [[POSIX]] compatible shell (such as Bash), but deviates in important ways where the creators believe the POSIX shell was badly designed.<ref name=indepthfish>{{cite web|last1=Paul|first1=Ryan|title=An in-depth look at fish: the friendly interactive shell|url=https://arstechnica.com/information-technology/2005/12/linux-20051218/2/|website=[[Ars Technica]]|date=19 December 2005 |access-date=10 March 2015|quote=the Posix syntax has several missing or badly implemented features, including variable scoping, arrays, and functions. For this reason, fish strays from the Posix syntax in several important places.}}</ref>
<syntaxhighlight lang="fish">
Line 192:
| edit line in text editor || {{keypress|Ctrl|X}},{{keypress|Ctrl|E}} || {{keypress|Alt|E}} || Upon invocation, moves line input to a text editor
|-
| evaluate line input || {{keypress|Ctrl|Alt|E}} || {{n/a}}<ref>{{cite web|url=https://github.com/fish-shell/fish-shell/issues/751|title=RFC: Add binding to expand/evaluate tokens on commandline|website=[[GitHub]] |date=2013-05-16|access-date=2021-04-09}}</ref> || Evaluates expressions in-place on the line editor
|-
| history completion || {{keypress|Ctrl|R}} || {{Yes|implicit}} ||
|