Fix regression on man(1) completion: also complete on local .3pm files (Debian: #531343)

This commit is contained in:
David Paleino 2009-06-05 08:06:10 +02:00
parent a35edc7949
commit e371d9628e
2 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,8 @@ bash-completion (1.x)
* Really add build-dep to aptitude's completion (Debian: #495883)
* Fix checks for GNUish userland, thanks to Robert Millan (Debian: #529510)
* Fix typo in .ass subtitles completion for mplayer (Debian: #531337)
* Fix regression on man(1) completion: also complete on local .3pm files
(Debian: #531343)
[ Ville Skyttä ]
* Split yum and yum-arch completion into contrib/yum.

View File

@ -1010,8 +1010,8 @@ _man()
{
local cur prev sect manpath manext mansect uname
manext="@([0-9lnp]|[0-9][px]|man)?(.@(gz|bz2|lzma))"
mansect="@([0-9lnp]|[0-9][px])"
manext="@([0-9lnp]|[0-9][px]|man|3pm)?(.@(gz|bz2|lzma))"
mansect="@([0-9lnp]|[0-9][px]|3pm)"
COMPREPLY=()
cur=`_get_cword`