Skip to content

Fix some typos #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Completion/Base/Completer/_expand_alias
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ if [[ -n $tmp ]]; then
if [[ $tmpa[1] = $word && $tmp = $aliases[$word] ]]; then
# This is an active regular alias and the first word in the result
# is the same as what was on the line already. Quote it so
# that it doesn't get reexanded on execution.
# that it doesn't get reexpanded on execution.
#
# Strictly we also need to check if the original word matches
# a later word in the expansion and the previous words are
4 changes: 2 additions & 2 deletions Src/exec.c
Original file line number Diff line number Diff line change
@@ -1387,7 +1387,7 @@ execlist(Estate state, int dont_change_job, int exiting)
*list_pipe_text = '\0';
}

/* Loop over all sets of comands separated by newline, *
/* Loop over all sets of commands separated by newline, *
* semi-colon or ampersand (`sublists'). */
code = *state->pc++;
if (wc_code(code) != WC_LIST) {
@@ -3034,7 +3034,7 @@ execcmd_exec(Estate state, Execcmd_params eparams,
/*
* preargs contains args that have been expanded by prefork.
* Running execcmd_getargs() causes any argument available
* in args to be exanded where necessary and transferred to
* in args to be expanded where necessary and transferred to
* preargs. We call execcmd_getargs() every time we need to
* analyse an argument not available in preargs, though there is
* no guarantee a further argument will be available.
2 changes: 1 addition & 1 deletion Src/init.c
Original file line number Diff line number Diff line change
@@ -1283,7 +1283,7 @@ setupvals(char *cmd, char *runscript, char *zsh_name)
adjustwinsize(0);
#else
/* columns and lines are normally zero, unless something different *
* was inhereted from the environment. If either of them are zero *
* was inherited from the environment. If either of them are zero *
* the setiparam calls below set them to the defaults from termcap */
setiparam("COLUMNS", zterm_columns);
setiparam("LINES", zterm_lines);
2 changes: 1 addition & 1 deletion Src/parse.c
Original file line number Diff line number Diff line change
@@ -490,7 +490,7 @@ init_parse_status(void)
/*
* These variables are currently declared by the parser, so we
* initialise them here. Possibly they are more naturally declared
* by the lexical anaylser; however, as they are used for signalling
* by the lexical analyser; however, as they are used for signalling
* between the two it's a bit ambiguous. We clear them when
* using the lexical analyser for strings as well as here.
*/
2 changes: 1 addition & 1 deletion Src/utils.c
Original file line number Diff line number Diff line change
@@ -2059,7 +2059,7 @@ redup(int x, int y)
* Add an fd opened ithin a module.
*
* fdt is the type of the fd; see the FDT_ definitions in zsh.h.
* The most likely falures are:
* The most likely failures are:
*
* FDT_EXTERNAL: the fd can be used within the shell for normal I/O but
* it will not be closed automatically or by normal shell syntax.
2 changes: 1 addition & 1 deletion Src/zsh.h
Original file line number Diff line number Diff line change
@@ -1667,7 +1667,7 @@ enum zpc_chars {
ZPC_KSH_BANG, /* ! for !(...) in KSH_GLOB */
ZPC_KSH_BANG2, /* ! for !(...) in KSH_GLOB, untokenised */
ZPC_KSH_AT, /* @ for @(...) in KSH_GLOB */
ZPC_COUNT /* Number of special chararacters */
ZPC_COUNT /* Number of special characters */
};

/*
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1342,7 +1342,7 @@ dnl Check if tgetent accepts NULL (and will allocate its own termcap buffer)
dnl Some termcaps reportedly accept a zero buffer, but then dump core
dnl in tgetstr().
dnl Under Cygwin test program crashes but exit code is still 0. So,
dnl we test for a file that porgram should create
dnl we test for a file that program should create
AH_TEMPLATE([TGETENT_ACCEPTS_NULL],
[Define to 1 if tgetent() accepts NULL as a buffer.])
AC_CACHE_CHECK(if tgetent accepts NULL,
@@ -1495,7 +1495,7 @@ $AWK '{ if ($1 ~ /sig/) files[[$1]] = $1 }
END { for (var in files) print var }'`"
rm -f nametmp.c
if test -z "$sigfile_list"; then
dnl In case we don't get the stuff from the preprocesor, use the old
dnl In case we don't get the stuff from the preprocessor, use the old
dnl list of standard places.
sigfile_list="/usr/include/sys/iso/signal_iso.h
/usr/include/bsd/sys/signal.h