Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[zcerza@xxxxxxxxxxx: Bug#302225: zsh: fixes for aptitude autocompletion]



----- Forwarded message from Zack Cerza <zcerza@xxxxxxxxxxx> -----

I noticed that the short form of aptitude's '--sort' option had changed
from '-U' to '-O' at some point. Attached is a patch that fixes that,
while adding support for the '--show-versions' '--show-deps' '--verbose'
and '-Z' options.

Zack

--- /usr/share/zsh/4.2.4/functions/Completion/Debian/_aptitude.orig	2005-03-30 13:32:24.000000000 -0500
+++ /usr/share/zsh/4.2.4/functions/Completion/Debian/_aptitude	2005-03-30 13:45:40.812904856 -0500
@@ -10,9 +10,13 @@
   '(-P --prompt)'{-P,--prompt}'[always display a prompt]' \
   '(-y --assume-yes)'{-y,--assume-yes}'[assume yes answer to questions]' \
   '(-F --display-format)'{-F,--display-format}'[specify output format for search command]:format' \
-  '(-U --sort)'{-U,--sort}'[specify sort order]:sort order:()' \
+  '(-O --sort)'{-O,--sort}'[specify sort order]:sort order:()' \
   '(-w --width)'{-w,--width}'[specify output width]:width' \
   '-f[aggressivley try to fix dependencies of broken packages]' \
+  '(-V --show-versions)'{-V,--show-versions}'[show which versions of packages will be installed]' \
+  '(-D --show-deps)'{-D,--show-deps}'[show brief explanations of automatic installations and removals]' \
+  '-Z[show disk space changes for each package]' \
+  '(-v --verbose)'{-v,--verbose}'[causes some commands to display extra information]' \
   '(--without-recommends)--with-recommends[install recommended packages when installing new packages]' \
   '(--without-suggests)--with-suggests[install suggested packages when installing new packages]' \
   '(--with-recommends)--without-recommends[ignore recommended packages when installing new packages]' \


----- End forwarded message -----



Messages sorted by: Reverse Date, Date, Thread, Author