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:
parent
98687fa1de
commit
aea461e542
2 changed files with 5 additions and 1 deletions
|
|
@ -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