diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2011-09-06 16:24:20 +0000 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2011-09-06 16:24:20 +0000 |
commit | ed5e4106fdacc81798973f269a4688d40eb3db2a (patch) | |
tree | da73f24e4bc74abd165eeceeecd9a08651359006 | |
parent | 40a31c0180446437a2684a142a07880bf9caf1bb (diff) | |
download | zsh-ed5e4106fdacc81798973f269a4688d40eb3db2a.tar.gz zsh-ed5e4106fdacc81798973f269a4688d40eb3db2a.tar.xz zsh-ed5e4106fdacc81798973f269a4688d40eb3db2a.zip |
29733: Jonathan: add apt-get changelog completion.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Debian/Command/_apt | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 06abc71a5..2c0dd4700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 $ ***************************************************** diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt index 3200fc9ac..b51b2fc74 100644 --- a/Completion/Debian/Command/_apt +++ b/Completion/Debian/Command/_apt @@ -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 |