Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
unwrapped _man
- X-seq: zsh-workers 7920
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: unwrapped _man
- Date: Fri, 17 Sep 1999 15:33:28 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Sorry, I forgot to tell my crap win95 mailer not to wrap the patch again.
Oliver
*** _man.old Fri Sep 17 14:39:09 1999
--- _man Fri Sep 17 15:08:42 1999
***************
*** 14,19 ****
--- 14,22 ----
approx="(#a${_comp_correct})"
fi
+ [ "$manpath" ] || manpath=$(manpath 2>/dev/null) || \
+ manpath=( /usr/man(-/N) /(opt|usr)/(dt|share|X11R6|local)/(cat|)man(-/N) )
+
if [[ $words[2] = (<->*|ln) ]]; then
rep=(
$manpath/(man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t:r) )
Messages sorted by:
Reverse Date,
Date,
Thread,
Author