about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cdrecord
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-12-03 02:31:49 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-12-03 02:31:49 +0000
commitb32f902ba598c851196b037178233477c2411876 (patch)
treeb7cbfbe7ef82be75804f4a1c1800506208b7d489 /Completion/Unix/Command/_cdrecord
parent79a0a88e660f0b4027a75d374efb7ffba3011adc (diff)
downloadzsh-b32f902ba598c851196b037178233477c2411876.tar.gz
zsh-b32f902ba598c851196b037178233477c2411876.tar.xz
zsh-b32f902ba598c851196b037178233477c2411876.zip
Bring various .distfiles up to date and merge any extra completions onto 4.2 branch.
Diffstat (limited to 'Completion/Unix/Command/_cdrecord')
-rw-r--r--Completion/Unix/Command/_cdrecord4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_cdrecord b/Completion/Unix/Command/_cdrecord
index f651e5954..602cd5e8e 100644
--- a/Completion/Unix/Command/_cdrecord
+++ b/Completion/Unix/Command/_cdrecord
@@ -89,14 +89,14 @@ if [[ -n $state ]]; then
   
   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
     ;;