mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:05:39 +08:00
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:
parent
09161761c1
commit
5b366b9cb5
|
@ -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
|
||||
-----
|
||||
|
|
Loading…
Reference in New Issue
Block a user