summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-09-30 16:16:36 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-09-30 16:16:36 +0000
commit71631df1e7e68582b29d80e149fd46a57e3874eb (patch)
tree5b98e08881ef2f7eb25bf2586d0627eaf212e40b
parent059501fa7dff16315aeefe8ea4c22d60a448154a (diff)
downloadzsh-71631df1e7e68582b29d80e149fd46a57e3874eb.tar.gz
zsh-71631df1e7e68582b29d80e149fd46a57e3874eb.tar.xz
zsh-71631df1e7e68582b29d80e149fd46a57e3874eb.zip
Aaron Schrab: 30711: improved _bind_addresses completionfor IPv6.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_bind_addresses2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c78c7737..24b7a7c40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
 
 2012-09-29  Frank Terbeck  <ft@bewatermyfriend.org>
@@ -196,5 +199,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5728 $
+* $Revision: 1.5729 $
 *****************************************************
diff --git a/Completion/Unix/Type/_bind_addresses b/Completion/Unix/Type/_bind_addresses
index 606de3ffb..3460b7959 100644
--- a/Completion/Unix/Type/_bind_addresses
+++ b/Completion/Unix/Type/_bind_addresses
@@ -11,5 +11,5 @@ case $OSTYPE in
   linux*) ;&
   *)
     _wanted bind-addresses expl 'bind address' compadd "$@" - \
-      ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:}%% *}
+      ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:( |)}%%(/| )*}
 esac