Include *.pl, *.pm, and *.pod files in perldoc completions.
This commit is contained in:
parent
59977e4bf8
commit
d7d8b2b206
6
CHANGES
6
CHANGES
@ -26,9 +26,9 @@ bash-completion (2.x)
|
||||
* Apply pine completion to alpine too.
|
||||
* Remove many unnecessary short option completions where long ones exist.
|
||||
* Improve chsh, chgrp, chown, configure, cvs, gkrellm, gzip, lftp, look,
|
||||
make, mdadm, modprobe, mplayer, mysqladmin, rsync, screen, service, scp,
|
||||
ssh, sshfs, update-alternatives, vncviewer, yp-tools, and general hostname
|
||||
completions.
|
||||
make, mdadm, modprobe, mplayer, mysqladmin, perldoc, rsync, screen,
|
||||
service, scp, ssh, sshfs, update-alternatives, vncviewer, yp-tools, and
|
||||
general hostname completions.
|
||||
* Add abook and wtf completion, based on work by Raphaël Droz.
|
||||
* Add cvsps, dragon, fusermount, jarsigner, k3b, lftpget, pm-utils, rtcwake,
|
||||
pack200, unpack200, pbzip2, pbunzip2, pbzcat, pigz and unpigz completions.
|
||||
|
@ -114,9 +114,10 @@ _perldoc()
|
||||
sed -ne "/perl.*Perl overview/,/perlwin32/p" | \
|
||||
awk "\$NF=2 { print \$1}" | command grep perl )' -- "$cur" ) )
|
||||
fi
|
||||
_filedir '@(pl|PL|pm|PM|pod|POD)'
|
||||
fi
|
||||
}
|
||||
complete -F _perldoc -o default perldoc
|
||||
complete -F _perldoc -o bashdefault perldoc
|
||||
}
|
||||
|
||||
# Local variables:
|
||||
|
Loading…
x
Reference in New Issue
Block a user