From 07d524a92f988835e4ed0c63325f788d18f56134 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 19 Jul 2000 23:39:06 +0000 Subject: Get also /usr/share/man. --- Completion/User/_perl_builtin_funcs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/User/_perl_builtin_funcs b/Completion/User/_perl_builtin_funcs index f5538c9e4..65eebf9b1 100644 --- a/Completion/User/_perl_builtin_funcs +++ b/Completion/User/_perl_builtin_funcs @@ -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; \ -- cgit 1.4.1