about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEitan Adler <lists@eitanadler.com>2018-04-30 08:54:37 +0000
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-05-02 09:09:09 +0200
commit2d8574ef7d67b0e03b0f66d5e0245289951fbfa9 (patch)
tree72f958b7cae244446b0d16276c93698dc839f404
parent64b60f69266f6df9084898741617a48ad3b98d25 (diff)
downloadzsh-2d8574ef7d67b0e03b0f66d5e0245289951fbfa9.tar.gz
zsh-2d8574ef7d67b0e03b0f66d5e0245289951fbfa9.tar.xz
zsh-2d8574ef7d67b0e03b0f66d5e0245289951fbfa9.zip
42732: Add several more entries to ifconfig
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_ifconfig9
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a0de7bb4..0aec0fcaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-05-02  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* Eitan Adler: 42732: Completion/Unix/Command/_ifconfig:
+	Add several more entries to ifconfig
+
 	* 42743: Completion/Unix/Command/_vorbis: update vorbis-tools
 	completion and include vorbiscomment with the rest
 
diff --git a/Completion/Unix/Command/_ifconfig b/Completion/Unix/Command/_ifconfig
index 0c81bce10..c5b5af8d4 100644
--- a/Completion/Unix/Command/_ifconfig
+++ b/Completion/Unix/Command/_ifconfig
@@ -25,11 +25,16 @@ case $OSTYPE in
       '(-l -C)-m[list supported media]'
       '(-l -C)-L[show address lifetime as time offset]'
     )
-    opts=( $alias $debug
+    listopts=(
+        active caps chan countries mac mesh regdomain roam txparam txpower
+        scan sta wme
+    )
+    opts=( $alias $debug $listopts
       anycast lladdr media {,-}mediaopt {,delete}tunnel create destroy
       {,un}plumb vlan {,-}vlandev metric prefixlen range phase ssid muid
       stationname channel authmode {,-}powersave powersavesleep wepmode
-      {,-}wep {,-}nwkey add delete ether {,-}link{0,1,2}
+      {,-}wep {,-}nwkey add delete ether {,-}link{0,1,2} list wme wmm
+      roam roam:rssi roam:rate roaming
     )
   ;;
   irix5*) opts=( $debug ) ;;