1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-29 03:31:01 +01:00

Get also /usr/share/man.

This commit is contained in:
Chmouel Boudjnah 2000-07-19 23:39:06 +00:00
parent 666cf52a37
commit 07d524a92f
2 changed files with 373 additions and 1 deletions

View file

@ -12,7 +12,7 @@ if [[ ${+_perl_builtin_funcs} -eq 0 ]]; then
typeset -agU _perl_builtin_funcs
local perlfunc
if [[ -n "${perlfunc:=$(man -w perlfunc 2>/dev/null; print -l ${^manpath}/man1/perlfunc.1(N) {/usr/man,/usr/local/man}/man1/perlfunc.1(N))}" ]]; then
if [[ -n "${perlfunc:=$(man -w perlfunc 2>/dev/null; print -l ${^manpath}/man1/perlfunc.1(N) {/usr/man,/usr/share/man,/usr/local/man}/man1/perlfunc.1(N))}" ]]; then
_perl_builtin_funcs=( `perl -lne '
$in_funcs++, next if /Alphabetical/; \
next unless $in_funcs; \