summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/builtins.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r--Doc/Zsh/builtins.yo4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 8fe2d8e21..c322cee77 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -870,7 +870,7 @@ can also be 0 to suppress all indentation.
The tt(-W) option turns on the option tt(WARN_NESTED_VAR) for the named
function or functions only. The option is turned off at the start of
-nested functions (apart from anonoymous functions) unless the called
+nested functions (apart from anonymous functions) unless the called
function also has the tt(-W) attribute.
The tt(-c) option causes var(oldfn) to be copied to var(newfn). The
@@ -1631,7 +1631,7 @@ cindex(functions, returning from)
item(tt(return) [ var(n) ])(
Causes a shell function or `tt(.)' script to return to
the invoking script with the return status specified by
-an arithmetic expression var(n). Also causes a non-interctive
+an arithmetic expression var(n). Also causes a non-interactive
shell to exit, allowing files containing shell code to be used
both as scripts and as autoloadable shell functions.
For example, the following prints `tt(42)':