diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_path_files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index ac4614dd8..ac6fcf604 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -418,9 +418,9 @@ for prepath in "$prepaths[@]"; do # Next we see if this component is ambiguous. if [[ "$tmp3" = */* ]]; then - tmp4=$tmp1[(I)^${(q)tmp1[1]%%/*}/*] + tmp4=$tmp1[(I)^${${tmp1[1]%%/*}//(#b)([][\\<>(|)^#~*?])/\\$match[1]}/*] else - tmp4=$tmp1[(I)^${(q)tmp1[1]}] + tmp4=$tmp1[(I)^${tmp1[1]//(#b)([][\\<>(|)^#~*?])/\\$match[1]}] fi if [[ "$tpre" = */* ]]; then |