diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 08:14:06 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-07 08:14:06 +0000 |
commit | 2562bd3b77145fd50d5b1c4f54054fc60a53eb6c (patch) | |
tree | c036e936a45c0f84bc5a6581a7de07e033d3293b /Completion/Core | |
parent | 18870148c5e4e71c356821000bb2b8d07366cd49 (diff) | |
download | zsh-2562bd3b77145fd50d5b1c4f54054fc60a53eb6c.tar.gz zsh-2562bd3b77145fd50d5b1c4f54054fc60a53eb6c.tar.xz zsh-2562bd3b77145fd50d5b1c4f54054fc60a53eb6c.zip |
missing initialisations, -W with multiple directories didn't wor (10571)
Diffstat (limited to 'Completion/Core')
-rw-r--r-- | Completion/Core/_main_complete | 4 | ||||
-rw-r--r-- | Completion/Core/_path_files | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index 2a1477e04..90bdef648 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -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=::: diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 183d59af3..3ddc62f94 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -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" |