mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Tutorial: Merge the footnotes on aliases and abbreviations together
@mqudsi's feedback from #9226
This commit is contained in:
parent
39f3f75f5b
commit
07c09bdee2
1 changed files with 2 additions and 4 deletions
|
@ -579,7 +579,7 @@ A fish function is a list of commands, which may optionally take arguments. Unli
|
||||||
# prints: Hello everybody!
|
# prints: 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 :doc:`functions <cmds/functions>` builtin (note the plural!). fish starts out with a number of functions::
|
You can list the names of all functions with the :doc:`functions <cmds/functions>` builtin (note the plural!). fish starts out with a number of functions::
|
||||||
|
|
||||||
|
@ -597,9 +597,7 @@ You can see the source for any function by passing its name to ``functions``::
|
||||||
|
|
||||||
For more, see :ref:`Functions <syntax-function>`.
|
For more, see :ref:`Functions <syntax-function>`.
|
||||||
|
|
||||||
.. [#] There is a function called :doc:`alias <cmds/alias>`, but it's just a shortcut to make functions.
|
.. [#] There is a function called :doc:`alias <cmds/alias>`, but it's just a shortcut to make functions. fish also provides :ref:`abbreviations <abbreviations>`, through the :ref:`abbr <cmd-abbr>` command.
|
||||||
|
|
||||||
.. [#] fish also provides :ref:`abbreviations <abbreviations>`, through the :ref:`abbr <cmd-abbr>` command.
|
|
||||||
|
|
||||||
Loops
|
Loops
|
||||||
-----
|
-----
|
||||||
|
|
Loading…
Reference in a new issue