diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-05-09 22:16:04 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-05-10 18:38:42 +0000 |
commit | f09c00bca5f6d634515e3ad5139813a64bfe83d8 (patch) | |
tree | f1726ffb38898f4589b012639258243c528b9204 /Completion | |
parent | 1a8fb1cbb307c4b2f81b1d98a2095cda6e809401 (diff) | |
download | zsh-f09c00bca5f6d634515e3ad5139813a64bfe83d8.tar.gz zsh-f09c00bca5f6d634515e3ad5139813a64bfe83d8.tar.xz zsh-f09c00bca5f6d634515e3ad5139813a64bfe83d8.zip |
38453: _apt: Complete ${package}/${release} for 'source' and 'build-dep', too.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/Command/_apt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt index bde561a76..8e74e661f 100644 --- a/Completion/Debian/Command/_apt +++ b/Completion/Debian/Command/_apt @@ -462,7 +462,8 @@ _apt-get () { /$'update\0'/ \| \ /$'upgrade\0'/ \| \ \( \ - /$'install\0'\|$'download\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \ + /$'install\0'\|$'download\0'\|$'source\0'\|$'build-dep\0'/ \ + /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \ /$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \ /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \ /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \ @@ -472,8 +473,6 @@ _apt-get () { /$'autoclean\0'/ \| \ /$'changelog\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ /$'check\0'/ \| \ - /$'source\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ - /$'build-dep\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ /$'autoremove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \ /$'help\0/' \| \ /$'markauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \ |