Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Fix some documentation typos



---
Been sitting on this for four and a half years now. Figured I should
submit it before another four and a half years go by.

 Doc/Zsh/contrib.yo |  4 ++--
 README             | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 2b567056e..586ac06f5 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -465,7 +465,7 @@ allows you to edit the list of directories, one per line.  The
 list can be edited to any extent you like; no sanity checking is
 performed.  Completion is available.  No quoting is necessary (except for
 newlines, where I have in any case no sympathy); directories are in
-unabbreviated from and contain an absolute path, i.e. they start with tt(/).
+unabbreviated form and contain an absolute path, i.e. they start with tt(/).
 Usually the first entry should be left as the current directory.
 )
 item(tt(-p ')var(pattern)tt('))(
@@ -708,7 +708,7 @@ that the wrapper function gets.  This configuration is described below.
 
 Then arrange for the wrapper to be run as a zsh_directory_name hook:
 
-example(autoload -Uz add-zsh-hook zsh_diretory_name_generic zdn_mywrapper
+example(autoload -Uz add-zsh-hook zsh_directory_name_generic zdn_mywrapper
 add-zsh-hook -U zsh_directory_name zdn_mywrapper)
 
 subsect(Configuration)
diff --git a/README b/README
index 9b1b1605f..e91263aa1 100644
--- a/README
+++ b/README
@@ -40,7 +40,7 @@ not be built unless --enable-gdbm is passed explicitly.
 
 vcs_info quilt: The value of the 'quiltcommand' style used to be taken for the
 name of an external command.  Now it may also be a shell function.  Normal
-command word precedece rules apply, so if you have a function and a command
+command word precedence rules apply, so if you have a function and a command
 with the same name, the function will be used.
 
 The "function" reserved word, used to define functions, gained a new -T option.
@@ -203,7 +203,7 @@ been made an error.  (The option setting NO_MULTI_FUNC_DEF turned this
 case into an error, but did not help with other cases and is off by
 default.)  The alternative, of not expanding the alias, was rejected as
 it was more difficult to achieve in the parser and also would silently
-change the shell's behaviur between versions.  A new option,
+change the shell's behaviour between versions.  A new option,
 ALIAS_FUNC_DEF, has been added, which can be set to make the shell
 behave as in previous versions.  It is in any case recommended to use
 the "function" keyword, as aliases are not expanded afterwards.
@@ -407,19 +407,19 @@ This is also necessary in the unusual eventuality that the builtins are
 to be overridden by shell functions, since reserved words take
 precedence over functions.
 
-10) For compatilibity with other shells, the syntax
+10) For compatibility with other shells, the syntax
 
 array=([index]=value)
 
-can be used with both assoiative arrays and normal arrays.  In the
+can be used with both associative arrays and normal arrays.  In the
 unlikely event that you wish to create an array with an entry
 matching a file whose name consists of one of a range of characters
 matched as a [...] expression, followed by an equal sign, followed
 by arbitrary other characters, it is now necessary to quote the equals
 sign.
 
-Incompatibilites between 5.0.7 and 5.0.8
-----------------------------------------
+Incompatibilities between 5.0.7 and 5.0.8
+-----------------------------------------
 
 Various arithmetic operations have changed, in particular with respect
 to the choice of integer or floating point operations.  The new
-- 
2.30.0





Messages sorted by: Reverse Date, Date, Thread, Author