Added support for p (POSIX) and x (x.org) man sections.

This commit is contained in:
Ville Skyttä 2009-01-12 00:10:22 +02:00
parent e7483a0443
commit ff5247fac8
2 changed files with 2 additions and 1 deletions

View File

@ -884,7 +884,7 @@ _man()
fi fi
# determine manual section to search # determine manual section to search
[[ "$prev" == [0-9ln] ]] && sect=$prev || sect='*' [[ "$prev" == @([0-9lnp]|[0-9][px]) ]] && sect=$prev || sect='*'
manpath=$manpath: manpath=$manpath:
if [ -n "$cur" ]; then if [ -n "$cur" ]; then

1
debian/changelog vendored
View File

@ -60,6 +60,7 @@ bash-completion (200811xx) UNRELEASED; urgency=low
* Improved performance of rpm -qa based rpm installed package completion * Improved performance of rpm -qa based rpm installed package completion
(Ville Skyttä). (Ville Skyttä).
* Improved features and performance of yum completion (Ville Skyttä). * Improved features and performance of yum completion (Ville Skyttä).
* Added support for p (POSIX) and x (x.org) man sections (Ville Skyttä).
* Merge from Gentoo: * Merge from Gentoo:
- fix 'find' completion so that it properly completes on -?(i)whilename. - fix 'find' completion so that it properly completes on -?(i)whilename.
Patch by Ciaran McCreesh. Patch by Ciaran McCreesh.