mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
github #126: Fix some typos
This commit is contained in:
parent
9f9ceb7768
commit
a61b105795
8 changed files with 13 additions and 9 deletions
|
@ -1,5 +1,9 @@
|
|||
2025-01-27 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* github #126: Wu, Zhenyu: Completion/Base/Completer/_expand_alias,
|
||||
Src/exec.c, Src/init.c, Src/parse.c, Src/utils.c, Src/zsh.h,
|
||||
configure.ac: Fix some typos
|
||||
|
||||
* github #125: Kouhei Yanagita: Completion/Unix/Command/_ruby:
|
||||
Add completion for irb --no-pager
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1386,7 +1386,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) {
|
||||
|
@ -3033,7 +3033,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.
|
||||
|
|
|
@ -1282,7 +1282,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);
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue