From 27be004c64c179a5e8f0bbecc969ec544fd7938f Mon Sep 17 00:00:00 2001 From: Razzi Abuissa Date: Thu, 23 Jul 2015 15:12:01 +0800 Subject: [PATCH] docs: typo fixes [skip ci] Signed-off-by: David Adam --- doc_src/index.hdr.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index 2e059b415..b0ddb50f9 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -112,7 +112,7 @@ Some characters can not be written directly on the command line. For these chara - '\\xxx', where xx is a hexadecimal number, represents the ascii character with the specified value. For example, `\x9` is the tab character. -- '\\Xxx', where xx is a hexadecimal number, represents a byte of data with the specified value. If you are using a mutibyte encoding, this can be used to enter +- '\\Xxx', where xx is a hexadecimal number, represents a byte of data with the specified value. If you are using a multibyte encoding, this can be used to enter invalid strings. Only use this if you know what you are doing. - '\\ooo', where ooo is an octal number, represents the ascii character with the specified value. For example, `\011` is the tab character. @@ -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 unction should not call itself, but rather a command with the same name. ailing to do so will cause infinite recursion bugs. +- 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. To easily create a function of this form, you can use the alias command. @@ -343,7 +343,7 @@ To provide a list of possible completions for myprog, use the `-a` switch. If `m complete -c myprog -s o -l output -a "yes no" \endfish -There are also special switches for specifying that a switch requires an argument, to disable filename completion, to create completions that are only available in some combinations, etc.. For a complete description of the various switches accepted by the `complete` command, see the documentationfor the complete builtin, or write `complete --help` inside the `fish` shell. +There are also special switches for specifying that a switch requires an argument, to disable filename completion, to create completions that are only available in some combinations, etc.. For a complete description of the various switches accepted by the `complete` command, see the documentation for the complete builtin, or write `complete --help` inside the `fish` shell. For examples of how to write your own complex completions, study the completions in `/usr/share/fish/completions`. (The exact path depends on your chosen installation prefix and may be slightly different)