From 5b366b9cb517453fdc2a0d40aee6c3d2dfa7e2e9 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 25 Jan 2021 19:10:02 +0100 Subject: [PATCH] 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. --- doc_src/tutorial.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc_src/tutorial.rst b/doc_src/tutorial.rst index 571142aad..33eab9bee 100644 --- a/doc_src/tutorial.rst +++ b/doc_src/tutorial.rst @@ -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 ` 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 `, but it's just a shortcut to make functions. Loops -----