diff --git a/bash_completion b/bash_completion index 96f27728..6927a2bf 100644 --- a/bash_completion +++ b/bash_completion @@ -5688,7 +5688,7 @@ _look() 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 diff --git a/debian/changelog b/debian/changelog index c1fbd408..62deb19a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,10 @@ bash-completion (200809xx) UNRELEASED; urgency=low * 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 Sat, 06 Sep 2008 15:55:50 +0200 + -- David Paleino Sat, 06 Sep 2008 16:09:18 +0200 bash-completion (20080705) unstable; urgency=low