1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00

39489: _path_files: Interpret -P as literally, rather than as a pattern.

Follow-up to the last commit.
This commit is contained in:
Daniel Shahaf 2016-10-07 13:58:52 +00:00
parent 7ad0001183
commit 59a67b31b0
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2016-10-07 Daniel Shahaf <d.s@daniel.shahaf.name>
* 39489: Completion/Unix/Type/_path_files: Interpret -P as
literally, rather than as a pattern.
* 39479 + 39481 minus _path_files hunk (see
39489): Completion/Debian/Command/_debfoster,
Completion/Linux/Command/_modutils,

View file

@ -69,7 +69,7 @@ fi
pats=( "${(@)pats:# #}" )
if (( $#pfx )); then
compset -P "$pfx[2]" || pfxsfx=( "$pfx[@]" "$pfxsfx[@]" )
compset -P "${(b)pfx[2]}" || pfxsfx=( "$pfx[@]" "$pfxsfx[@]" )
fi
if (( $#prepaths )); then