1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 11:31:26 +01:00

29733: Jonathan: add apt-get changelog completion.

This commit is contained in:
Mikael Magnusson 2011-09-06 16:24:20 +00:00
parent 40a31c0180
commit ed5e4106fd
2 changed files with 6 additions and 2 deletions

View file

@ -13,6 +13,9 @@
* 29741: Completion/Zsh/Command/_zattr: add ret=0, fix filename
globbing like in 27658 for _zip.
* 29733: Jonathan Kolberg: Completion/Debian/Command/_apt: add
completion for apt-get changelog.
2011-09-05 Barton E. Schaefer <schaefer@brasslantern.com>
* users/16302: Completion/Unix/Type/_path_files: pattern matching
@ -15380,5 +15383,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5458 $
* $Revision: 1.5459 $
*****************************************************

View file

@ -433,6 +433,7 @@ _apt-get () {
/$'dselect-upgrade\0'/ \| \
/$'clean\0'/ \| \
/$'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' \# \| \
@ -440,7 +441,7 @@ _apt-get () {
/$'help\0/' \| \
/$'markauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/$'unmarkauto\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove purge dist-upgrade dselect-upgrade clean autoclean check source build-dep autoremove help markauto unmarkauto'
/"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove purge dist-upgrade dselect-upgrade clean autoclean changelog check source build-dep autoremove help markauto unmarkauto'
_apt-get () {
local expl_action expl_packages