From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _dpkg with udebs
Date: Tue, 11 Dec 2001 15:39:45 -0500 [thread overview]
Message-ID: <20011211203945.GA7465@dman.com> (raw)
dpkg can handle .udebs as well. Maybe styles should be involved here.
Index: Completion/Debian/Command/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
retrieving revision 1.3
diff -u -r1.3 _dpkg
--- Completion/Debian/Command/_dpkg 2001/05/29 12:39:31 1.3
+++ Completion/Debian/Command/_dpkg 2001/12/11 20:36:25
@@ -7,19 +7,19 @@
_dpkg_deb_actions=('(--build)-b[build archive]:directory:_files -/' \
'(-b)--build:directory:_files -/' \
- '(--contents)-c[list contents]:Debian package:_files -g \*.deb' \
- '(-c)--contents:Debian package:_files -g \*.deb' \
- '(--info)-I[show info]:Debian package:_files -g \*.deb' \
- '(-I)--info:Debian package:_files -g \*.deb' \
- '(--field)-f[show fields]:Debian package:_files -g \*.deb' \
- '(-f)--field:Debian package:_files -g \*.deb' \
- '(--control)-e[extract control]:Debian package:_files -g \*.deb' \
- '(-e)--control:Debian package:_files -g \*.deb' \
- '(--extract)-x[extract files]:Debian package:_files -g \*.deb' \
- '(-x)--extract:Debian package:_files -g \*.deb' \
- '(--vextract)-X[extract and list files]:Debian package:_files -g \*.deb' \
- '(-X)--vextract[extract and list]:Debian package:_files -g \*.deb' \
- '--fsys-tarfile[output fs tarfile]:Debian package:_files -g \*.deb')
+ '(--contents)-c[list contents]:Debian package:_files -g \*.u\#deb' \
+ '(-c)--contents:Debian package:_files -g \*.u\#deb' \
+ '(--info)-I[show info]:Debian package:_files -g \*.u\#deb' \
+ '(-I)--info:Debian package:_files -g \*.u\#deb' \
+ '(--field)-f[show fields]:Debian package:_files -g \*.u\#deb' \
+ '(-f)--field:Debian package:_files -g \*.u\#deb' \
+ '(--control)-e[extract control]:Debian package:_files -g \*.u\#deb' \
+ '(-e)--control:Debian package:_files -g \*.u\#deb' \
+ '(--extract)-x[extract files]:Debian package:_files -g \*.u\#deb' \
+ '(-x)--extract:Debian package:_files -g \*.u\#deb' \
+ '(--vextract)-X[extract and list files]:Debian package:_files -g \*.u\#deb' \
+ '(-X)--vextract[extract and list]:Debian package:_files -g \*.u\#deb' \
+ '--fsys-tarfile[output fs tarfile]:Debian package:_files -g \*.u\#deb')
_dpkg_common_actions=('--help[show help]' \
'--version[show version]' \
@@ -28,7 +28,7 @@
_dpkg_actions=('(--install)-i[install packages]:*:Debian packages:->install' \
'(-i)--install:*:Debian packages:->install' \
- '--unpack[unpack package]:Debian package:_files -g \*.deb' \
+ '--unpack[unpack package]:Debian package:_files -g \*.u\#deb' \
'--configure:*:package:->configure' \
'(--remove)-r[remove package]:*:package:->remove' \
'(-r)--remove:*:package:->remove' \
@@ -115,7 +115,7 @@
"$_dpkg_options_recursive[@]" \
'*:directory:_path_files -/' \
- nonrecur \
- '*:Debian package:_path_files -g \*.deb'
+ '*:Debian package:_path_files -g \*.u\#deb'
;;
remove|purge|status|listfiles)
_call_function ret _dpkg_$state && return ret
reply other threads:[~2001-12-11 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011211203945.GA7465@dman.com \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).