mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
moved to Completion/AIX/Type/_logical_volumes
This commit is contained in:
parent
c360b43af9
commit
837ebb9aff
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
#autoload
|
||||
|
||||
local expl list names disp
|
||||
|
||||
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
|
||||
zformat -a list ' -- ' $list
|
||||
disp=(-d list)
|
||||
else
|
||||
disp=()
|
||||
fi
|
||||
_wanted logicalvolumes expl 'logical volumes' \
|
||||
compadd "$disp[@]" "$@" - "$names[@]"
|
Loading…
Add table
Add a link
Reference in a new issue