* [PATCH] Update completion for Slackware's pkgtools
@ 2009-07-31 4:21 Andrew Psaltis
0 siblings, 0 replies; only message in thread
From: Andrew Psaltis @ 2009-07-31 4:21 UTC (permalink / raw)
To: zsh-workers
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-07 1:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31 4:21 [PATCH] Update completion for Slackware's pkgtools Andrew Psaltis
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).