The following commit has been merged in the master branch:
commit 2544b384ea7b48657284fa96a4d6851850460f68
Author: Ville Skyttä <[email protected]>
Date:   Fri Apr 29 12:32:49 2011 +0300

    Add lbzip2, lbunzip2, and lbzcat completions, using corresponding bzip2 
ones.

diff --git a/bash_completion b/bash_completion
index 8f7d83f..9f70b6f 100644
--- a/bash_completion
+++ b/bash_completion
@@ -69,7 +69,7 @@ complete -d pushd
 #
 # START exclude -- do NOT remove this line
 # bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: 
#455510
-complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat
+complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat lbunzip2 lbzcat
 complete -f -X 
'!*.@(zip|[ejw]ar|exe|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub|apk)' unzip 
zipinfo
 complete -f -X '*.Z' compress znew
 # zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
diff --git a/completions/bzip2 b/completions/bzip2
index ad816be..7b75a76 100644
--- a/completions/bzip2
+++ b/completions/bzip2
@@ -1,6 +1,6 @@
 # bash completion for bzip2
 
-have bzip2 || have pbzip2 || return
+have bzip2 || have pbzip2 || have lbzip2 || return
 
 _bzip2()
 {
@@ -38,7 +38,7 @@ _bzip2()
     COMPREPLY=( $( compgen -f -X "$xspec" -- "$cur" ) \
         $( compgen -d -- "$cur" ) )
 } &&
-complete -F _bzip2 bzip2 pbzip2
+complete -F _bzip2 bzip2 pbzip2 lbzip2
 
 # Local variables:
 # mode: shell-script

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to