diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-09-21 19:08:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-09-21 19:08:35 +0000 |
commit | dbec4fa6ccccb717608498b83989b21967948bde (patch) | |
tree | c1aaacbe8a16ae4d1cbf8754305ce2330bd62873 /Completion | |
parent | 8e43f7f3c839429849cb36ea0c84cdc05d40ad1d (diff) | |
download | zsh-dbec4fa6ccccb717608498b83989b21967948bde.tar.gz zsh-dbec4fa6ccccb717608498b83989b21967948bde.tar.xz zsh-dbec4fa6ccccb717608498b83989b21967948bde.zip |
30692: allow autoload +X -m to work
change to _path_files to make it load in that fashion
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index a170983ba..aa58ea09b 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -198,7 +198,7 @@ zstyle -T ":completion:${curcontext}:paths" path-completion && path_completion=1 if [[ -n "$compstate[pattern_match]" ]]; then - if { [[ -z "$SUFFIX" ]] && _have_glob_qual "$PREFIX" complete } || + if { [[ -z "$SUFFIX" ]] && _have_glob_qual "$PREFIX" complete; } || _have_glob_qual "$SUFFIX" complete; then # Copy all glob qualifiers from the line to # the patterns used when generating matches |