[Bash-completion-commits] ./current r1168: Dump to /dev/null error message from look(1) with no arguments

David Paleino d.paleino at gmail.com
Sat Sep 6 14:10:08 UTC 2008


------------------------------------------------------------
revno: 1168
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-09-06 16:10:08 +0200
message:
  Dump to /dev/null error message from look(1) with no arguments
  (Closes: #495142)
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-09-06 13:57:15 +0000
+++ b/bash_completion	2008-09-06 14:10:08 +0000
@@ -5688,7 +5688,7 @@
 	cur=`_get_cword`
 
 	if [ $COMP_CWORD = 1 ]; then
-		COMPREPLY=( $( compgen -W '$(look $cur)' ) )
+		COMPREPLY=( $( compgen -W '$(look $cur 2>/dev/null)' ) )
 	fi
 } &&
 complete -F _look $default look

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-09-06 13:57:15 +0000
+++ b/debian/changelog	2008-09-06 14:10:08 +0000
@@ -5,8 +5,10 @@
   * Fix man -l completing filenames (Closes: #497074)
   * (Partly) fixed java classes completion (Closes: #496828). Look for 
     FIXME in source.
+  * Dump to /dev/null error message from look(1) with no arguments
+    (Closes: #495142)
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 06 Sep 2008 15:55:50 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sat, 06 Sep 2008 16:09:18 +0200
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list