Dump to /dev/null error message from look(1) with no arguments
(Closes: #495142)
This commit is contained in:
parent
0ab808772c
commit
60e071ef15
@ -5688,7 +5688,7 @@ _look()
|
|||||||
cur=`_get_cword`
|
cur=`_get_cword`
|
||||||
|
|
||||||
if [ $COMP_CWORD = 1 ]; then
|
if [ $COMP_CWORD = 1 ]; then
|
||||||
COMPREPLY=( $( compgen -W '$(look $cur)' ) )
|
COMPREPLY=( $( compgen -W '$(look $cur 2>/dev/null)' ) )
|
||||||
fi
|
fi
|
||||||
} &&
|
} &&
|
||||||
complete -F _look $default look
|
complete -F _look $default look
|
||||||
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -5,8 +5,10 @@ bash-completion (200809xx) UNRELEASED; urgency=low
|
|||||||
* Fix man -l completing filenames (Closes: #497074)
|
* Fix man -l completing filenames (Closes: #497074)
|
||||||
* (Partly) fixed java classes completion (Closes: #496828). Look for
|
* (Partly) fixed java classes completion (Closes: #496828). Look for
|
||||||
FIXME in source.
|
FIXME in source.
|
||||||
|
* Dump to /dev/null error message from look(1) with no arguments
|
||||||
|
(Closes: #495142)
|
||||||
|
|
||||||
-- David Paleino <d.paleino@gmail.com> Sat, 06 Sep 2008 15:55:50 +0200
|
-- David Paleino <d.paleino@gmail.com> Sat, 06 Sep 2008 16:09:18 +0200
|
||||||
|
|
||||||
bash-completion (20080705) unstable; urgency=low
|
bash-completion (20080705) unstable; urgency=low
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user