1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00

Bart (17906): de-quote prefix when calling compfiles to remove non-exact matches (17910)

This commit is contained in:
Sven Wischnowsky 2002-11-06 08:03:41 +00:00
parent 14f39707cb
commit 83b3b0769a
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
2002-11-06 Sven Wischnowsky <wischnow@zsh.org>
* 17910: Bart (17906): de-quote prefix when calling compfiles to
remove non-exact matches
2002-11-04 Peter Stephenson <pws@csr.com>
* 17859: Philippe Troin <phil@fifi.org>: Src/init.c: Better

@ -464,7 +464,7 @@ for prepath in "$prepaths[@]"; do
# names. This avoids having `foo' complete to `foo' and `foobar'.
# The return value is non-zero if the component is ambiguous.
compfiles -r tmp1 "$tmp3"
compfiles -r tmp1 "${(Q)tmp3}"
tmp4=$?
if [[ "$tpre" = */* ]]; then