diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2005-06-08 12:45:24 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2005-06-08 12:45:24 +0000 |
commit | 0ba8ae87eac21281e0b17eb9cbb523d133067a4a (patch) | |
tree | 614cc49ce90c3c2562f83d6739f8ea76dc75d7f0 /Completion/AIX/Type | |
parent | 9181f0e3059862d2d8cc109bc849f8705cbbc23c (diff) | |
download | zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.gz zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.xz zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.zip |
21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
Diffstat (limited to 'Completion/AIX/Type')
-rw-r--r-- | Completion/AIX/Type/_logical_volumes | 2 | ||||
-rw-r--r-- | Completion/AIX/Type/_object_classes | 2 | ||||
-rw-r--r-- | Completion/AIX/Type/_physical_volumes | 2 | ||||
-rw-r--r-- | Completion/AIX/Type/_volume_groups | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Completion/AIX/Type/_logical_volumes b/Completion/AIX/Type/_logical_volumes index 1dd351360..bbfa09238 100644 --- a/Completion/AIX/Type/_logical_volumes +++ b/Completion/AIX/Type/_logical_volumes @@ -11,5 +11,5 @@ if zstyle -T ":completion:${curcontext}:" verbose; then else disp=() fi -_wanted logicalvolumes expl 'logical volumes' \ +_wanted logicalvolumes expl 'logical volume' \ compadd "$disp[@]" "$@" - "$names[@]" diff --git a/Completion/AIX/Type/_object_classes b/Completion/AIX/Type/_object_classes index 6122dcdf4..a0d669ca3 100644 --- a/Completion/AIX/Type/_object_classes +++ b/Completion/AIX/Type/_object_classes @@ -3,4 +3,4 @@ local expl _wanted objectclasses expl 'object class' \ - _files -W ${ODMDIR:-/etc/objrepos} -g '^*.vc(-.)' + _files -W ${ODMDIR:-/etc/objrepos} -g '^*.vc(-.)' "$@" - diff --git a/Completion/AIX/Type/_physical_volumes b/Completion/AIX/Type/_physical_volumes index b53054823..fd31edd09 100644 --- a/Completion/AIX/Type/_physical_volumes +++ b/Completion/AIX/Type/_physical_volumes @@ -3,4 +3,4 @@ local expl _wanted physicalvolumes expl 'physical volume' \ - compadd - $(lsdev -C -c disk -S a -F name) + compadd "$@" - $(lsdev -C -c disk -S a -F name) diff --git a/Completion/AIX/Type/_volume_groups b/Completion/AIX/Type/_volume_groups index dc509f6dc..8b8bebfa6 100644 --- a/Completion/AIX/Type/_volume_groups +++ b/Completion/AIX/Type/_volume_groups @@ -2,4 +2,4 @@ local expl -_wanted physicalvolumes expl 'physical volume' compadd - $(lsvg) +_wanted volumegroups expl 'volume group' compadd "$@" - $(lsvg) |