[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 405e33deed75a3967c092cca37d7b94686403dfb

Ville Skyttä ville.skytta at iki.fi
Tue Aug 18 08:32:05 UTC 2009


The following commit has been merged in the master branch:
commit 8c43004135249e27ca5f36a7ced455e4750e48ac
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Aug 18 11:15:01 2009 +0300

    Add lz*grep, lzless, and lzmore completion.

diff --git a/CHANGES b/CHANGES
index 76a1644..b96b789 100644
--- a/CHANGES
+++ b/CHANGES
@@ -95,7 +95,7 @@ bash-completion (1.x)
   * Add xmlwf completion.
   * Associate *.po with poedit, gtranslator, kbabel, and lokalize.
   * Add xz, xzcat, xzdec, and unxz completion.
-  * Add lzcat and unlzma completion.
+  * Add lzcat, lz*grep, lzless, lzmore, and unlzma completion.
   * Load "modules" completion if /etc/profile.d/modules.sh exists even if
     the "module" alias has not been defined (yet).
   * Add *.ogv to xine-based players (Debian: #540033).
diff --git a/bash_completion b/bash_completion
index cfccabb..9d7c88a 100644
--- a/bash_completion
+++ b/bash_completion
@@ -109,7 +109,8 @@ complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' gunzip
 #complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' zcmp zdiff zcat zegrep zfgrep zgrep zless zmore
 complete -f -X '!*.*' zcmp zdiff zcat zegrep zfgrep zgrep zless zmore
 complete -f -X '!*.Z' uncompress
-complete -f -X '!*.lzma' lzcat unlzma
+# lzcmp, lzdiff intentionally not here, see Debian: #455510
+complete -f -X '!*.lzma' lzcat lzegrep lzfgrep lzgrep lzless lzmore unlzma
 complete -f -X '!*.@(xz|lzma)' unxz xzcat
 complete -f -X '!*.@(gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX)' ee
 complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|GIF|JPG|JP?(E)G|TIF?(F)|PNG|P[BGP]M|BMP|X[BP]M|RLE|RGB|PCX|FITS|PM)' xv qiv

-- 
bash-completion



More information about the Bash-completion-commits mailing list