diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_path_files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index a8567ab78..807172bbb 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -150,6 +150,8 @@ zstyle -s ":completion:${curcontext}:files" ignore-parents ignpar if [[ -n "$compstate[pattern_match]" && ( ( -z "$SUFFIX" && "$PREFIX" = *\([^\|\~]##\) ) || "$SUFFIX" = *\([^\|\~]##\) ) ]]; then + # Copy all glob qualifiers from the line to + # the patterns used when generating matches if [[ "$SUFFIX" = *\([^\|\~]##\) ]]; then tmp3="${${(M)SUFFIX%\([^\|\~]##\)}[2,-2]}" SUFFIX="${SUFFIX%\($tmp3\)}" |