mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
35528: allow for IPREFIX
This commit is contained in:
parent
98687fa1de
commit
aea461e542
2 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue