[Bash-completion-commits] ./current r1217: * Merge from Gentoo:

David Paleino d.paleino at gmail.com
Sun Dec 14 13:05:40 UTC 2008


------------------------------------------------------------
revno: 1217
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sun 2008-12-14 14:05:40 +0100
message:
  * Merge from Gentoo:
    - fix CVS completion
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-12-12 18:45:28 +0000
+++ b/bash_completion	2008-12-14 13:05:40 +0000
@@ -1687,7 +1687,7 @@
 				for i in "${entries[@]}"; do
 					files=( ${files[@]/#$i//} )
 				done
-				COMPREPLY=( $( compgen -W '${files[@]}' -- \
+				COMPREPLY=( $( compgen -X '*~' -W '${files[@]}' -- \
 					       $cur ) )
 			fi
 		else
@@ -1740,7 +1740,7 @@
 				COMPREPLY=( $( compgen -W '${changed[@]:-} \
 						   ${newremoved[@]:-}' -- $cur ) )
 			else
-				_filedir
+				COMPREPLY=( $(compgen $default -- "$cur") )
 			fi
 		else
 			COMPREPLY=( $( compgen -W '-n -R -l -f -F -m -r' -- \

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-12-11 19:15:30 +0000
+++ b/debian/changelog	2008-12-14 13:05:40 +0000
@@ -52,13 +52,14 @@
     - use make -qp to parse the Makefile for us, so we get proper completion
       on things like pattern rules. Patch by Mike Kelly <pioto at exherbo.org>.
     - complete on gkrellm2 as well. Patch by Aaron Walker.
+    - fix CVS completion
   * debian/links fixed (Closes: #494292)
   * debian/control:
     - fixed typo in the long description
   * debian/install:
     - correctly install contrib/* under /etc/bash_completion.d/
 
- -- David Paleino <d.paleino at gmail.com>  Thu, 11 Dec 2008 20:15:03 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sun, 14 Dec 2008 14:05:12 +0100
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list