The following commit has been merged in the master branch:
commit e371d9628e75d1a5cfda1ba153bf9f9d0285f7a0
Author: David Paleino <[email protected]>
Date:   Fri Jun 5 08:06:10 2009 +0200

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

diff --git a/CHANGES b/CHANGES
index 5d9d066..153c756 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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.
diff --git a/bash_completion b/bash_completion
index ab21c8f..d6bdfdb 100644
--- a/bash_completion
+++ b/bash_completion
@@ -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`

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to