From 8a1a446f455f892a3c9e48887917dcf7b18e9ce0 Mon Sep 17 00:00:00 2001 From: Alexei Sholik Date: Tue, 15 Sep 2015 16:49:14 +0300 Subject: [PATCH] Fix a typo in docs/index --- doc_src/index.hdr.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index f40b4df4a..6db7bd52b 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -236,7 +236,7 @@ There are a few important things that need to be noted about aliases: - Always take care to add the `$argv` variable to the list of parameters to the wrapped command. This makes sure that if the user specifies any additional parameters to the function, they are passed on to the underlying command. -- If the alias has the same name as the aliased command, it is necessary to refix the call to the program with `command` in order to tell fish that the function should not call itself, but rather a command with the same name. Failing to do so will cause infinite recursion bugs. +- If the alias has the same name as the aliased command, it is necessary to prefix the call to the program with `command` in order to tell fish that the function should not call itself, but rather a command with the same name. Failing to do so will cause infinite recursion bugs. To easily create a function of this form, you can use the alias command.