1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 02:51:01 +02:00

zsh-workers/8494

This commit is contained in:
Tanaka Akira 1999-11-02 21:56:58 +00:00
parent 9a98d9ed96
commit 6532fa34ba

View file

@ -316,7 +316,7 @@ for prepath in "$prepaths[@]"; do
# collected as the suffixes to make the completion code expand
# it as far as possible.
if [[ "$tsuf" = */* ]]; then
if [[ "$tpre" = */* ]]; then
PREFIX="${donepath}${linepath}${cpre}${tpre%%/*}"
SUFFIX="/${tsuf#*/}"
else
@ -390,8 +390,8 @@ for prepath in "$prepaths[@]"; do
done
if [[ -z "$tmp4" ]]; then
PREFIX="${opre}"
SUFFIX="${osuf}"
PREFIX="${opre}${osuf}"
SUFFIX=""
compadd -Qf -p "$linepath${testpath:q}" \
-W "$prepath$realpath$testpath" "$ignore[@]" \
"$addpfx[@]" "$addsfx[@]" "$remsfx[@]" \