1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01: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

@ -1,3 +1,7 @@
2015-06-19 Oliver Kiddle <opk@zsh.org>
* 35528: Completion/Unix/Type/_pids: allow for IPREFIX
2015-06-18 Oliver Kiddle <opk@zsh.org>
* 35474, 35492: Doc/Zsh/params.yo, Doc/Zsh/zle.yo,

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