summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/AIX/_lscfg21
1 files changed, 0 insertions, 21 deletions
diff --git a/Completion/AIX/_lscfg b/Completion/AIX/_lscfg
deleted file mode 100644
index 4667a0bd7..000000000
--- a/Completion/AIX/_lscfg
+++ /dev/null
@@ -1,21 +0,0 @@
-#compdef lscfg
-
-local state line expl curcontext="$curcontext" disp list devs
-
-_arguments -C -s \
-  '-l[display device information for named device]:device:->device' \
-  '-v[display vital product data for physical devices]' && return 0
-
-if [[ "$state" = device ]]; then
-  devs=( ${${${${(f)"$(lscfg)"}[6,-1]:# *}##??}/ ##[^ ]# #/:} )
-  if zstyle -T ":completion:${curcontext}:devices" verbose; then
-    zformat -a list ' -- ' "$devs[@]"
-    disp=(-ld list)
-  else
-    disp=()
-  fi
-  _wanted devices expl 'device' compadd "$disp[@]" - "${devs[@]%%:*}"
-  return
-fi
-
-return 1