summaryrefslogtreecommitdiff
path: root/Src/init.c
diff options
context:
space:
mode:
authorMartijn Dekker <martijn@inlv.org>2019-12-10 20:41:08 +0100
committerDaniel Shahaf <danielsh@apache.org>2019-12-11 02:37:39 +0000
commitc578f0a08b9257f3db85dab5431270f1a6eb8858 (patch)
treec643f7c8965fa71d4248045d2a1a0b90a0c5a365 /Src/init.c
parentd81238ee955f074cb2c303ce6047bfa7e513d772 (diff)
downloadzsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.tar.gz
zsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.zip
45004: Fix typos in comments
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/init.c b/Src/init.c
index 445cd3937..2306d7bdf 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -137,7 +137,7 @@ loop(int toplevel, int justonce)
else
stophist = hstop;
/*
- * Reset all errors, including user interupts.
+ * Reset all errors, including user interrupts.
* This is what allows ^C in an interactive shell
* to return us to the command line.
*/
@@ -203,7 +203,7 @@ loop(int toplevel, int justonce)
* that would be inconsistent with the case where
* we didn't execute a preexec function. This is
* an implementation detail that an interrupting user
- * does't care about.
+ * doesn't care about.
*/
errflag &= ~ERRFLAG_ERROR;
}
@@ -362,7 +362,7 @@ static void parseopts_setemulate(char *nam, int flags)
* Parse shell options.
*
* If (flags & PARSEARGS_TOPLEVEL):
- * - we are doing shell initilisation
+ * - we are doing shell initialisation
* - nam is the name under which the shell was started
* - set up emulation and standard options based on that.
* Otherwise: