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

PATCH: dpkg -S



Better to complete files than nothing, it would seem.

Index: Completion/Debian/Command/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
retrieving revision 1.6
diff -u -r1.6 _dpkg
--- Completion/Debian/Command/_dpkg	28 May 2002 14:07:38 -0000	1.6
+++ Completion/Debian/Command/_dpkg	1 Jul 2002 15:59:24 -0000
@@ -128,4 +128,8 @@
 	  '(* -a)--pending' \
 	  '*:package:_deb_packages installed'
   ;;
+  search)
+        _call_function ret _dpkg_$state && return ret
+  	_files
+  ;;
 esac



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