zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: "Markus Järvinen" <mkj@iki.fi>, 426266@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#426266: zsh: wodim completion complains about missing cdrecord
Date: Sun, 27 May 2007 12:23:29 -0400	[thread overview]
Message-ID: <20070527162329.GA6819@scowler.net> (raw)
In-Reply-To: <20070527150227.GA7566@m1.dommu>

On Sun, May 27, 2007 at 06:02:27PM +0300, Markus Järvinen wrote:
> Typing "wodim blank=<TAB>" gives the following messages:
> 
> help  -- display list of available blanking types
> val)  -- 1::command not found: cdrecord

This should help.

Index: Completion/Unix/Command/_cdrecord
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_cdrecord,v
retrieving revision 1.6
diff -u -r1.6 _cdrecord
--- Completion/Unix/Command/_cdrecord	27 Oct 2006 17:48:48 -0000	1.6
+++ Completion/Unix/Command/_cdrecord	27 May 2007 16:16:52 -0000
@@ -89,14 +89,14 @@
   
   case $state in
     device)
-      devices=( ${(f)"$(_call_program device cdrecord -scanbus 2>/dev/null \
+      devices=( ${(f)"$(_call_program device $service -scanbus 2>/dev/null \
           |grep '^	'|cut -c2-6,23-|sed 's/ /:/')"} )
       _describe -t devices device devices && return
     ;;
     blank)
       btypes=(
         'help:display list of available blanking types'
-	${${${${(f)"$(_call_program blank-types cdrecord blank=help 2>&1)"}[2,-1]}#?}/[[:blank:]]##/:}
+	${${${${(f)"$(_call_program blank-types $service blank=help 2>&1)"}[2,-1]}#?}/[[:blank:]]##/:}
       )
       _describe -t blank-types 'blanking type' btypes && return
     ;;


           reply	other threads:[~2007-05-27 16:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20070527150227.GA7566@m1.dommu>]

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=20070527162329.GA6819@scowler.net \
    --to=schizo@debian.org \
    --cc=426266@bugs.debian.org \
    --cc=mkj@iki.fi \
    --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).