From: Andrew Psaltis <ampsaltis@gmail.com>
To: zsh-workers@sunsite.dk
Subject: [PATCH] Update completion for Slackware's pkgtools
Date: Fri, 31 Jul 2009 00:21:51 -0400 [thread overview]
Message-ID: <4A72715F.3040108@gmail.com> (raw)
Greetings.
Due to updates to Slackware's pkgtools, .txz, .tbz, and .tlz packages
are now supported. The following is a patch that updates zsh's pkgtool
completion to accept those packages.
~Andrew
Index: Completion/Linux/Command/_pkgtool
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_pkgtool,v
retrieving revision 1.7
diff -u -r1.7 _pkgtool
--- Completion/Linux/Command/_pkgtool 21 Jun 2005 10:01:30 -0000 1.7
+++ Completion/Linux/Command/_pkgtool 19 Jul 2009 03:12:19 -0000
@@ -12,7 +12,7 @@
"-ask[always ask on package installation regardless of package's
priority]" \
'-priority[provide a priority for the entire package list to
use]:priority list:(ADD REC OPT SKP)' \
'-tagfile[specify a different file to use for package
priorities]:tagfile:_files -/' \
- '*:package file:_files -g "*.tgz(-.)"'
+ '*:package file:_files -g "*.t[gblx]z(-.)"'
;;
removepkg)
@@ -29,11 +29,11 @@
'--install-new[install new packages in addition to upgrading
existing ones]' \
'--reinstall[upgrade even when the same version is already
installed]' \
'--verbose[show all the gory details of the upgrade]' \
- '*:package file:_files -g "*.tgz(-.)"'
+ '*:package file:_files -g "*.t[gblx]z(-.)"'
;;
explodepkg)
- _wanted file expl 'package file' _files -g '*.tgz(-.)'
+ _wanted file expl 'package file' _files -g '*.t[gblx]z(-.)'
;;
makepkg)
reply other threads:[~2009-08-07 1:03 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=4A72715F.3040108@gmail.com \
--to=ampsaltis@gmail.com \
--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).