diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files index 777d09f44..1ba564bf6 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -26,7 +26,7 @@ fi if zstyle -a ":completion:${curcontext}:" file-patterns tmp; then [[ "$type" = */* ]] && glob="$glob,*(-/)" pats=() - for i in ${tmp//\\%p/${${glob:-\*}//:/\\:} }; do + for i in ${tmp//%p/${${glob:-\*}//:/\\:} }; do if [[ $i = *[^\\]:* ]]; then pats=( "$pats[@]" " $i " ) else |