about summary refs log tree commit diff
path: root/Completion/AIX/_lscfg
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:18:43 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:18:43 +0000
commit2da07b357d451cbdae94f1a67e31c656e974d775 (patch)
treefc51e09d1fb96ec94d7e97c08040ca9d9d36fc51 /Completion/AIX/_lscfg
parent6994e5beafe34c47b89d27e6ad331158517a2ca1 (diff)
downloadzsh-2da07b357d451cbdae94f1a67e31c656e974d775.tar.gz
zsh-2da07b357d451cbdae94f1a67e31c656e974d775.tar.xz
zsh-2da07b357d451cbdae94f1a67e31c656e974d775.zip
moved to Completion/AIX/Command/_lscfg
Diffstat (limited to 'Completion/AIX/_lscfg')
-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