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

PATCH: _dpkg and udebs



Apparently the people that want dpkg-deb to complete udebs don't want
dpkg proper to do so.


Index: Completion/Debian/Command/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
retrieving revision 1.5
diff -u -r1.5 _dpkg
--- Completion/Debian/Command/_dpkg	11 Mar 2002 12:56:51 -0000	1.5
+++ Completion/Debian/Command/_dpkg	28 May 2002 14:01:46 -0000
@@ -24,7 +24,7 @@
 
 _dpkg_actions=(
   '(--install -i)'{--install,-i}'[install packages]:*:Debian packages:->install'
-  '--unpack[unpack package]:Debian package:_files -g \*.u\#deb'
+  '--unpack[unpack package]:Debian package:_files -g \*.deb'
   '--configure[reconfigure specified packages]:*:package:->configure'
   '(--remove -r)'{--remove,-r}'[remove package]:*:package:->remove'
   '(--purge -P)'{--purge,-P}'[purge package]:*:package:->purge'
@@ -101,7 +101,7 @@
              "$_dpkg_options_recursive[@]" \
 	     '*:directory:_path_files -/' \
 	   - nonrecur \
-	     '*:Debian package:_path_files -g \*.u\#deb'
+	     '*:Debian package:_path_files -g \*.deb'
   ;;
   remove|purge|status|listfiles)
         _call_function ret _dpkg_$state && return ret



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