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

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


The following commit has been merged in the master branch:
commit 405e33deed75a3967c092cca37d7b94686403dfb
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Aug 18 11:31:39 2009 +0300

    Do not require a dot in bzcmp, bzdiff, bz*grep, zcmp, zdiff, z*grep, zless, and zmore filename completions.

diff --git a/CHANGES b/CHANGES
index b2b2928..5313884 100644
--- a/CHANGES
+++ b/CHANGES
@@ -101,6 +101,8 @@ bash-completion (1.x)
   * Add *.ogv to xine-based players (Debian: #540033).
   * Add $compopt (":" i.e. no-op with bash < 4, "compopt" with >= 4).
   * Complete bzcat and zcat only on compressed files.
+  * Do not require a dot in bzcmp, bzdiff, bz*grep, zcmp, zdiff, z*grep, zless,
+    and zmore filename completions.
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index 4b8b125..269595d 100644
--- a/bash_completion
+++ b/bash_completion
@@ -99,15 +99,11 @@ complete -d pushd
 #
 # START exclude -- do NOT remove this line
 complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat
-# TODO: see #455510
-#complete -f -X '!*.?(t)bz?(2)' bzcmp bzdiff bzegrep bzfgrep bzgrep
-complete -f -X '!*.*' bzcmp bzdiff bzegrep bzfgrep bzgrep
+# bzcmp, bzdiff, bz*grep intentionally not here, see Debian: #455510
 complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|sxw|ott|od[fgpst]|epub)' unzip zipinfo
 complete -f -X '*.Z' compress znew
 complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' gunzip zcat
-# TODO: see #455510
-#complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' zcmp zdiff zegrep zfgrep zgrep zless zmore
-complete -f -X '!*.*' zcmp zdiff zegrep zfgrep zgrep zless zmore
+# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
 complete -f -X '!*.Z' uncompress
 # lzcmp, lzdiff intentionally not here, see Debian: #455510
 complete -f -X '!*.lzma' lzcat lzegrep lzfgrep lzgrep lzless lzmore unlzma

-- 
bash-completion



More information about the Bash-completion-commits mailing list