From: Chmouel Boudjnah <chmouel@mandrakesoft.com>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: completion with rpm and --target
Date: 13 Apr 2000 06:53:18 -0700 [thread overview]
Message-ID: <m2bt3e6rap.fsf@cassini.us.mandrakesoft.com> (raw)
completion with rpm and --target
PS: what is the Completetion/Rpm/ directory appeared in the cvs ?
--- ./Completion/Linux/_rpm.chmou Thu Apr 13 06:45:58 2000
+++ ./Completion/Linux/_rpm Thu Apr 13 06:47:55 2000
@@ -162,6 +162,7 @@
'--ftpproxy:FTP proxy server:_hosts' \
'--ftpport:FTP port number:' \
--{short-circuit,clean,rmsource,sign,test} \
+ '--target:specify a build target:->target'\
'--buildroot:build root directory:_files -/' \
'--buildarch:architecture for which to build:' \
'--buildos:ositecture for which to build:' \
@@ -189,6 +190,10 @@
package_or_file)
state=package_file
;&
+ target)
+ _wanted target expl 'Target platforms' \
+ compadd $(_call target rpm --showrc |grep 'compatible archs'|sed 's/.*: //') && ret=0
+ ;;
package)
_wanted packages expl 'RPM package' \
compadd -M 'r:|-=* r:|=*' - $(_call packages rpm -qa) && ret=0
--
MandrakeSoft Inc http://www.mandrakesoft.com
Montreal, QC CA. --Chmouel
next reply other threads:[~2000-04-16 20:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-13 13:53 Chmouel Boudjnah [this message]
2000-04-17 8:05 Sven Wischnowsky
2000-04-17 8:11 ` Chmouel Boudjnah
2000-04-17 8:13 Sven Wischnowsky
2000-04-17 8:17 ` Chmouel Boudjnah
2000-04-17 8:54 ` Geoff Wing
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=m2bt3e6rap.fsf@cassini.us.mandrakesoft.com \
--to=chmouel@mandrakesoft.com \
--cc=zsh-workers@sunsite.auc.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).