- perldoc completion also returns names of core Perl man pages
This commit is contained in:
parent
98d608a2e5
commit
ee4121a784
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.486 2002/12/13 05:12:34 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.487 2002/12/14 02:17:43 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -3886,6 +3886,7 @@ _perldoc()
|
||||
;;
|
||||
*)
|
||||
_perlmodules
|
||||
COMPREPLY=( ${COMPREPLY[@]} $( compgen -W '$( PAGER=cat man perl | sed -ne "/perl.*Perl overview/,/perlwin32/s/^[^a-z0-9]*\([a-z0-9]*\).*$/\1/p")' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user