Fix man -l completing filenames (Closes: #497074)

This commit is contained in:
David Paleino 2008-09-06 15:00:25 +02:00
parent e051a60199
commit 5fda6ff31c
2 changed files with 8 additions and 1 deletions

View File

@ -835,6 +835,12 @@ _man()
cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}
case $prev in
-l)
_filedir;
return 0;
esac
_expand || return 0
# default completion if parameter contains /

3
debian/changelog vendored
View File

@ -2,8 +2,9 @@ bash-completion (200809xx) UNRELEASED; urgency=low
* Added .kar to Timidity completion.
* Fix killall completion (Closes: #497540)
* Fix man -l completing filenames (Closes: #497074)
-- David Paleino <d.paleino@gmail.com> Sat, 06 Sep 2008 14:41:56 +0200
-- David Paleino <d.paleino@gmail.com> Sat, 06 Sep 2008 15:00:00 +0200
bash-completion (20080705) unstable; urgency=low