[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 7e3c9af11540caeb646b1173c2da62c558c23665

Ville Skyttä ville.skytta at iki.fi
Sun Sep 20 21:47:07 UTC 2009


The following commit has been merged in the master branch:
commit 7e3c9af11540caeb646b1173c2da62c558c23665
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Sep 21 00:47:03 2009 +0300

    Support .xz suffix in info page completions.

diff --git a/CHANGES b/CHANGES
index 1db82b2..ea425f9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -121,6 +121,7 @@ bash-completion (1.x)
   * Don't hardcode path to lsmod.
   * Fix sbcl file/dirname completion (Debian: #545743).
   * Add /sbin to $PATH when invoking lspci and lsusb.
+  * Support .xz suffix in info page completions.
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/contrib/info b/contrib/info
index c6c142e..432d6b7 100644
--- a/contrib/info
+++ b/contrib/info
@@ -45,7 +45,7 @@ _info()
 		fi;
 	done
 	# strip suffix from info pages
-	COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2|lzma)} )
+	COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2|xz|lzma)} )
 	COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}" ) )
 
 	return 0

-- 
bash-completion



More information about the Bash-completion-commits mailing list