zsh-workers
 help / color / mirror / code / Atom feed
From: Adam Spiers <adam@thelonious.new.ox.ac.uk>
To: zsh-workers@sunsite.auc.dk
Subject: _rpm fixes
Date: Mon, 6 Sep 1999 19:11:23 +0100	[thread overview]
Message-ID: <19990906191123.A1322@thelonious.new.ox.ac.uk> (raw)
In-Reply-To: <199909061150.NAA02176@beta.informatik.hu-berlin.de>; from Sven Wischnowsky on Mon, Sep 06, 1999 at 01:50:39PM +0200

Sven Wischnowsky (wischnow@informatik.hu-berlin.de) wrote:
> 
> Peter Stephenson wrote:
> 
> > There were some minor typo fixes in the completion functions which I didn't
> > post.

Did you get this one?  I also fixed -b to complete .spec files.  It 
was completing installed rpms before for some reason.

diff -urN -x *~ zsh-3.1.6-4/Completion/Linux/_rpm zsh-3.1.6-adam/Completion/Linux/_rpm
--- zsh-3.1.6-4/Completion/Linux/_rpm	Mon Sep  6 13:15:25 1999
+++ zsh-3.1.6-adam/Completion/Linux/_rpm	Mon Sep  6 18:28:24 1999
@@ -44,7 +44,7 @@
 # Used by `_arguments', made local here.
 
 local state lstate line
-tyeset -A options
+typeset -A options
 
 state=''
 
@@ -139,7 +139,7 @@
       '*:RPM package:->package' && ret=0
     ;;
   build_b)
-    tmp=( '*:RPM package:->package' )
+    tmp=( '*:spec file:_files -g \*.spec' )
     ;&
   build_t)
     (( $#tmp )) || tmp=( '*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)' )


  reply	other threads:[~1999-09-06 18:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06 11:50 3.1.6-pws-3 Sven Wischnowsky
1999-09-06 18:11 ` Adam Spiers [this message]
1999-09-07  8:20 _rpm fixes Sven Wischnowsky
1999-09-07  9:10 ` Adam Spiers
1999-09-07 16:48   ` Adam Spiers
1999-09-08 11:25 Sven Wischnowsky
1999-09-08 11:27 Sven Wischnowsky

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=19990906191123.A1322@thelonious.new.ox.ac.uk \
    --to=adam@thelonious.new.ox.ac.uk \
    --cc=adam@spiers.net \
    --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).