about summary refs log tree commit diff
path: root/Completion/Unix/Command/_ifconfig
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-01-16 16:29:51 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-01-16 16:29:51 +0000
commitd7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87 (patch)
tree1f21ac9faf956d67f24e2005b82a42264a27f535 /Completion/Unix/Command/_ifconfig
parent8476aa7fc2faea453c3e07dae2e58535fa2a7086 (diff)
downloadzsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.gz
zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.tar.xz
zsh-d7822305b4a20ba09ef0c9eb0c6c9bf697c1ee87.zip
16461: a number of minor completion function updates
Diffstat (limited to 'Completion/Unix/Command/_ifconfig')
-rw-r--r--Completion/Unix/Command/_ifconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ifconfig b/Completion/Unix/Command/_ifconfig
index efd6e7707..977f99221 100644
--- a/Completion/Unix/Command/_ifconfig
+++ b/Completion/Unix/Command/_ifconfig
@@ -1,6 +1,6 @@
 #compdef ifconfig
 
-local context state line ret=1
+local curcontext="$curcontext" state line ret=1
 local -a opts args alias debug updownlist
 
 alias=( '(-alias alias)'{,-}'alias[remove or establish alternate address for if]' )
@@ -63,7 +63,7 @@ case $OSTYPE in
   ;;
 esac
 
-_arguments "$args[@]" \
+_arguments -C "$args[@]" \
   '-a[apply to all interfaces]' \
   '1:network interface:_net_interfaces' \
   '::address family:(atalk ether inet inet6 ax25 ddp ipx netrom)' \