[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 530e91f810546d4f14f1c0f99c7132f6a8aa0bea

Guillaume Rousse guillomovitch at zarb.org
Thu Feb 12 21:31:41 UTC 2009


The following commit has been merged in the master branch:
commit 530e91f810546d4f14f1c0f99c7132f6a8aa0bea
Author: Guillaume Rousse <guillomovitch at zarb.org>
Date:   Thu Feb 12 22:31:27 2009 +0100

    add cdrecord and mkisoft completion functions to wodim and genisoimage

diff --git a/bash_completion b/bash_completion
index d5560d7..3977b1c 100644
--- a/bash_completion
+++ b/bash_completion
@@ -6325,7 +6325,7 @@ complete -F _dict $default dict rdict
 
 # cdrecord(1) completion
 #
-have cdrecord &&
+(have cdrecord || have wodim) &&
 _cdrecord()
 {
 	local cur prev i generic_options track_options track_mode
@@ -6398,11 +6398,11 @@ _cdrecord()
 	fi
 
 } &&
-complete -F _cdrecord $filenames cdrecord
+complete -F _cdrecord $filenames cdrecord wodim
 
 # mkisofs(8) completion
 #
-have mkisofs &&
+(have mkisofs || have genisoimage) &&
 _mkisofs()
 {
 	local cur prev
@@ -6470,7 +6470,7 @@ _mkisofs()
 	fi
 
 } &&
-complete -F _mkisofs $filenames mkisofs
+complete -F _mkisofs $filenames mkisofs genisoimage
 
 # mc(1) completion
 #

-- 
bash-completion



More information about the Bash-completion-commits mailing list