1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

35528: allow for IPREFIX

This commit is contained in:
Oliver Kiddle 2015-06-19 19:46:01 +02:00
parent 98687fa1de
commit aea461e542
2 changed files with 5 additions and 1 deletions

View file

@ -15,7 +15,7 @@ elif [[ "$PREFIX$SUFFIX" = ([%-]*|[0-9]#) ]]; then
all=()
match="(*[[:blank:]]|)${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*"
else
all=(-U)
all=(-P "$IPREFIX" -S "$ISUFFIX" -U)
match="*[[:blank:]]*[[/[:blank:]]$PREFIX*$SUFFIX*"
nm="$compstate[nmatches]"
fi