mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:47:04 +08:00
Tutorial: Merge the footnotes on aliases and abbreviations together
@mqudsi's feedback from #9226
This commit is contained in:
parent
39f3f75f5b
commit
07c09bdee2
|
@ -579,7 +579,7 @@ A fish function is a list of commands, which may optionally take arguments. Unli
|
|||
# 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::
|
||||
|
||||
|
@ -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>`.
|
||||
|
||||
.. [#] 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.
|
||||
.. [#] 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.
|
||||
|
||||
Loops
|
||||
-----
|
||||
|
|
Loading…
Reference in New Issue
Block a user