[Bash-completion-commits] ./current r1236: Added support for p (POSIX) and x (x.org) man sections.

Ville Skyttä ville.skytta at iki.fi
Sun Jan 11 22:10:22 UTC 2009


------------------------------------------------------------
revno: 1236
committer: Ville Skyttä <ville.skytta at iki.fi>
branch nick: current
timestamp: Mon 2009-01-12 00:10:22 +0200
message:
  Added support for p (POSIX) and x (x.org) man sections.
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2009-01-11 21:41:45 +0000
+++ b/bash_completion	2009-01-11 22:10:22 +0000
@@ -884,7 +884,7 @@
 	fi
 
 	# determine manual section to search
-	[[ "$prev" == [0-9ln] ]] && sect=$prev || sect='*'
+	[[ "$prev" == @([0-9lnp]|[0-9][px]) ]] && sect=$prev || sect='*'
 
 	manpath=$manpath:
 	if [ -n "$cur" ]; then

=== modified file 'debian/changelog'
--- a/debian/changelog	2009-01-11 21:41:45 +0000
+++ b/debian/changelog	2009-01-11 22:10:22 +0000
@@ -60,6 +60,7 @@
   * Improved performance of rpm -qa based rpm installed package 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:
     - fix 'find' completion so that it properly completes on -?(i)whilename.
       Patch by Ciaran McCreesh.



More information about the Bash-completion-commits mailing list