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

PATCH: more _dpkg tweaking



It's more useful to be able to complete something after -S, 
and _files is probably the closest thing to trying to complete
a glob pattern.

Index: Completion/Debian/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/_dpkg,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 _dpkg
--- Completion/Debian/_dpkg	2000/01/30 00:59:22	1.1.1.5
+++ Completion/Debian/_dpkg	2000/04/04 03:32:41
@@ -46,8 +46,8 @@
            '(-L)--listfiles:packages:_deb_packages installed' \
            '(--list)-l[list packages]:packages:_deb_packages avail' \
            '(-l)--list:packages:_deb_packages avail' \
-           '(--search)-S[search for file owner]:pattern:' \
-           '(-S)--search:pattern:' \
+           '(--search)-S[search for file owner]:pattern:_files' \
+           '(-S)--search:pattern:_files' \
            '(--audit)-C[check for broken pkgs]' \
            '(-C)--audit' \
            '--abort-after[abort after errors]:number of errors:' \



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