docs/tutorial: Mention alias

This came up online - here we exclaim that fish has no aliases (which
is true), but then in the main docs we explain that you can use
`alias` to make something (which is also true).

Add a foot note explaining the apparent contradiction.
This commit is contained in:
Fabian Homborg 2021-01-25 19:10:02 +01:00
parent 09161761c1
commit 5b366b9cb5

View file

@ -556,7 +556,7 @@ A fish function is a list of commands, which may optionally take arguments. Unli
Hello everybody!
Unlike other shells, fish does not have aliases or special prompt syntax. Functions take their place.
Unlike other shells, fish does not have aliases or special prompt syntax. Functions take their place. [#]_
You can list the names of all functions with the :ref:`functions <cmd-functions>` builtin (note the plural!). fish starts out with a number of functions::
@ -571,6 +571,7 @@ You can see the source for any function by passing its name to ``functions``::
command ls -G $argv
end
.. [#] There is a function called :ref:`alias <cmd-alias>`, but it's just a shortcut to make functions.
Loops
-----