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/Darwin | |
| parent | 21314: declare expl local in example use of _wanted (diff) | |
| download | zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.gz zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.bz2 zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.lz zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.xz zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.zst zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.zip | |
21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
Diffstat (limited to 'Completion/Darwin')
| -rw-r--r-- | Completion/Darwin/Type/_mac_applications | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Darwin/Type/_mac_applications b/Completion/Darwin/Type/_mac_applications index ac1df46c1..51fa0c470 100644 --- a/Completion/Darwin/Type/_mac_applications +++ b/Completion/Darwin/Type/_mac_applications @@ -3,4 +3,5 @@ _retrieve_mac_apps local expl -_wanted commands expl 'Mac OS X application' compadd -- "${(@)${_mac_apps[@]:t}%.app}" +_wanted commands expl 'Mac OS X application' \ + compadd "$@" - "${(@)${_mac_apps[@]:t}%.app}" |
