zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Roger Leigh <rleigh@whinlatter.ukfsn.org>, 390574@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#390574: zsh: Updated completions for schroot and dchroot
Date: Tue, 3 Oct 2006 02:14:59 -0400	[thread overview]
Message-ID: <20061003061459.GA17998@scowler.net> (raw)
In-Reply-To: <87sli6nyjc.fsf@hardknott.home>

> That seems fine, except for the fact that "Available chroots" is
> translated, so everything up to and including the ':' needs removing.

Okay, committing this then

Index: _dchroot
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dchroot,v
retrieving revision 1.2
diff -u -r1.2 _dchroot
--- _dchroot	1 Oct 2006 21:57:05 -0000	1.2
+++ _dchroot	3 Oct 2006 06:14:06 -0000
@@ -22,7 +22,6 @@
 case "$state" in
 	(chroot)
 	_wanted tag expl 'chroot' \
-	compadd ${(os:,:)${${${"$(dchroot -l)"#Available chroots: }/\[*\]/}//[  
-]/}}
+	compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
 	;;
 esac
Index: _dchroot-dsa
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dchroot-dsa,v
retrieving revision 1.1
diff -u -r1.1 _dchroot-dsa
--- _dchroot-dsa	1 Oct 2006 21:57:05 -0000	1.1
+++ _dchroot-dsa	3 Oct 2006 06:14:06 -0000
@@ -21,7 +21,6 @@
 case "$state" in
 	(chroot)
 	_wanted tag expl 'chroot' \
-	compadd ${(os:,:)${${${"$(dchroot -l)"#Available chroots: }/\[*\]/}//[  
-]/}}
+        compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
 	;;
 esac


      parent reply	other threads:[~2006-10-03  7:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20061001210027.13349.94075.reportbug@hardknott.home>
2006-10-01 21:49 ` Clint Adams
     [not found]   ` <874punel7y.fsf@hardknott.home>
2006-10-02  0:36     ` Clint Adams
     [not found]       ` <87sli6nyjc.fsf@hardknott.home>
2006-10-03  6:14         ` Clint Adams [this message]

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=20061003061459.GA17998@scowler.net \
    --to=clint@zsh.org \
    --cc=390574@bugs.debian.org \
    --cc=rleigh@whinlatter.ukfsn.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).