missing initialisations, -W with multiple directories didn't wor (10571)

This commit is contained in:
Sven Wischnowsky 2000-04-07 08:14:06 +00:00
parent 18870148c5
commit 2562bd3b77
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2000-04-07 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
* 10571: Completion/Core/_main_complete,
Completion/Core/_path_files: missing initialisations, -W with
multiple directories didn't work
2000-04-06 Clint Adams <schizo@debian.org>
* Felix Rosencrantz: 10564: Completion/X/_x_display:
typo in _wanted.

View file

@ -19,7 +19,7 @@
setopt localoptions nullglob rcexpandparam extendedglob
unsetopt markdirs globsubst shwordsplit nounset ksharrays
local func funcs ret=1 tmp _compskip format _comp_ignore \
local func funcs ret=1 tmp _compskip format \
_completers _completer _completer_num curtag \
_matchers _matcher _matcher_num _comp_tags \
context state line opt_args val_args curcontext="$curcontext" \
@ -29,7 +29,7 @@ local func funcs ret=1 tmp _compskip format _comp_ignore \
_saved_list="${compstate[list]}" \
_saved_insert="${compstate[insert]}"
typeset -U _lastdescr
typeset -U _lastdescr _comp_ignore
[[ -z "$curcontext" ]] && curcontext=:::

View file

@ -247,6 +247,8 @@ for prepath in "$prepaths[@]"; do
# in the following loop, which walks through the pathname components
# in the string from the line.
skipped=
cpre=
tpre="$pre"
tsuf="$suf"
testpath="$donepath"