about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-02-26 15:35:11 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-02-26 15:35:11 +0000
commit9b1663b5313ac1ef0935a0f1f159fc1a1d0103d9 (patch)
tree203c8576c74665723c0a3293e9a7ed8ef6aeccfc
parent8a411bf1c9215e075b755f2bcb40b3a033a53b91 (diff)
downloadzsh-9b1663b5313ac1ef0935a0f1f159fc1a1d0103d9.tar.gz
zsh-9b1663b5313ac1ef0935a0f1f159fc1a1d0103d9.tar.xz
zsh-9b1663b5313ac1ef0935a0f1f159fc1a1d0103d9.zip
fix typo
-rw-r--r--Completion/Unix/Type/_net_interfaces2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_net_interfaces b/Completion/Unix/Type/_net_interfaces
index 682d8c5a8..666287259 100644
--- a/Completion/Unix/Type/_net_interfaces
+++ b/Completion/Unix/Type/_net_interfaces
@@ -20,7 +20,7 @@ case $OSTYPE in
   local PATH=$PATH
   PATH=/sbin:$PATH
   intf=( $(ifconfig -a 2>/dev/null | sed -n 's/^\([^ 	:]*\).*/\1/p') )
-  if [[${#intf} -eq 0 &&  -d /proc/sys/net/ipv4/conf ]]; then
+  if [[ ${#intf} -eq 0 && -d /proc/sys/net/ipv4/conf ]]; then
     # On linux we used to use the following as the default.
     # However, we now use ifconfig since it finds additional devices such
     # as tunnels.  So only do this if that didn't work.