about summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-23 08:19:51 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-23 18:02:28 +0000
commit0f4cfc25979de09f88615d76a26462279af506e6 (patch)
tree3555c7282a5572f70cd9f2a0d53da71b26b1e42b /Completion/Debian
parent8e69dd54b763643791f9e767f708e190afc72e6a (diff)
downloadzsh-0f4cfc25979de09f88615d76a26462279af506e6.tar.gz
zsh-0f4cfc25979de09f88615d76a26462279af506e6.tar.xz
zsh-0f4cfc25979de09f88615d76a26462279af506e6.zip
unposted: _deb_packages: Minor optimization.
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Type/_deb_packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Type/_deb_packages b/Completion/Debian/Type/_deb_packages
index d82515cef..bdc0cb00c 100644
--- a/Completion/Debian/Type/_deb_packages
+++ b/Completion/Debian/Type/_deb_packages
@@ -122,7 +122,7 @@ _deb_packages () {
 
   typeset -gH $cachevar
 
-  _tags packages && compadd "$expl[@]" - "${(@P)cachevar}"
+  _tags packages && compadd "$expl[@]" -a - $cachevar
 }
 
 _debs_caching_policy () {