mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
38453: _apt: Complete ${package}/${release} for 'source' and 'build-dep', too.
This commit is contained in:
parent
1a8fb1cbb3
commit
f09c00bca5
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-05-10 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 38453: Completion/Debian/Command/_apt: Complete
|
||||
${package}/${release} for 'source' and 'build-dep', too.
|
||||
|
||||
* 38452: Completion/Debian/Command/_apt: Complete releases by
|
||||
codename ('jessie', 'sid', etc).
|
||||
|
||||
|
|
|
@ -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' \# \| \
|
||||
|
|
Loading…
Reference in a new issue