1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

zsh-workers/9810

This commit is contained in:
Tanaka Akira 2000-02-21 11:42:01 +00:00
parent 256cde1884
commit e662d7f0eb

View file

@ -80,7 +80,11 @@ while true; do
# use the stuff from the line. This avoids having `foo' complete to # use the stuff from the line. This avoids having `foo' complete to
# both `foo' and `foobar'. # both `foo' and `foobar'.
tmp1=( "${(@M)matches:#${PREFIX}${SUFFIX}${sep}*}" ) if [[ -n "$PREFIX$SUFFIX" || "$pre" = ${sep}* ]]; then
tmp1=( "${(@M)matches:#${PREFIX}${SUFFIX}${sep}*}" )
else
tmp1=
fi
if (( $#tmp1 )); then if (( $#tmp1 )); then
npref="${PREFIX}${SUFFIX}${sep}" npref="${PREFIX}${SUFFIX}${sep}"