mirror of
https://github.com/zsh-users/zsh
synced 2024-09-30 05:06:09 +00:00
missing initialisations, -W with multiple directories didn't wor (10571)
This commit is contained in:
parent
18870148c5
commit
2562bd3b77
|
@ -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.
|
||||
|
|
|
@ -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=:::
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue