summaryrefslogtreecommitdiff
path: root/shells/zsh/patches/patch-am
blob: 01173c5b1f33062517d68c88e539a7d4381406c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Completion/Unix/Type/_net_interfaces.orig	2005-05-09 23:58:21.000000000 +0200
+++ Completion/Unix/Type/_net_interfaces	2005-05-10 00:00:05.000000000 +0200
@@ -12,7 +12,7 @@
       disp=(-ld list)
     fi
   ;;
-  darwin*|freebsd*) intf=( $(ifconfig -l) ) ;;
+  darwin*|freebsd*|dragonfly*) intf=( $(ifconfig -l) ) ;;
   irix*) intf=( ${${${(f)"$(/usr/etc/netstat -i)"}%% *}[2,-1]} ) ;;
   linux*) intf=( /proc/sys/net/ipv4/conf/*~*(all|default)(N:t) ) ;;
   *) intf=( $(ifconfig -a|sed -n 's/^\([^ 	:]*\).*/\1/p') ) ;;