CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/
Upload File :
Current File : //proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/_logical_volumes

#autoload

local expl list names disp sep

list=( $(lsvg -l $(lsvg)|sed  -e '2d'|awk '/[^:]* / {if ( $7 != "N/A" ) print $1 ":" $7; else print $1}' ) )
names=(${list%%:*})
if zstyle -T ":completion:${curcontext}:" verbose; then
  zstyle -s ":completion:${curcontext}:" list-separator sep || sep=--
  zformat -a list " $sep " $list
  disp=(-d list)
else
  disp=()
fi
_wanted logicalvolumes expl 'logical volume' \
    compadd "$disp[@]" "$@" - "$names[@]"

Copyright 2K16 - 2K18 Indonesian Hacker Rulez