1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-18 15:21:16 +02:00

Aaron Schrab: 30711: improved _bind_addresses completionfor IPv6.

This commit is contained in:
Peter Stephenson 2012-09-30 16:16:36 +00:00
parent 059501fa7d
commit 71631df1e7
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2012-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com> 2012-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Aaron Schrab: 30711: Completion/Unix/Type/_bind_addresses:
improved IPv6 completion.
* Aaron Schrab: 30710: Completion/Unix/Command/_perldoc: updates. * Aaron Schrab: 30710: Completion/Unix/Command/_perldoc: updates.
2012-09-29 Frank Terbeck <ft@bewatermyfriend.org> 2012-09-29 Frank Terbeck <ft@bewatermyfriend.org>
@ -196,5 +199,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5728 $ * $Revision: 1.5729 $
***************************************************** *****************************************************

View file

@ -11,5 +11,5 @@ case $OSTYPE in
linux*) ;& linux*) ;&
*) *)
_wanted bind-addresses expl 'bind address' compadd "$@" - \ _wanted bind-addresses expl 'bind address' compadd "$@" - \
${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:}%% *} ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:( |)}%%(/| )*}
esac esac