Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _man copes with : delimited manpath
- X-seq: zsh-workers 8082
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: _man copes with : delimited manpath
- Date: 28 Sep 1999 18:36:07 +0900
- In-reply-to: Peter Stephenson's message of "Mon, 27 Sep 1999 15:44:57 +0200"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <9909271344.AA19699@xxxxxxxxxxxxxxxxx>
In article <9909271344.AA19699@xxxxxxxxxxxxxxxxx>,
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> writes:
> + local mp=($(manpath 2>/dev/null))
I think this is desired syntax. But it is not implemented yet.
is27e1u11% man <TAB>
_man: unknown file attribute [18]
Index: Completion/User/_man
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_man,v
retrieving revision 1.1.1.16
diff -u -F^( -r1.1.1.16 _man
--- Completion/User/_man 1999/09/27 14:24:58 1.1.1.16
+++ Completion/User/_man 1999/09/28 09:34:44
@@ -15,7 +15,8 @@
fi
if (( ! $#manpath )); then
- local mp=($(manpath 2>/dev/null))
+ local mp
+ mp=($(manpath 2>/dev/null))
[[ "$mp" == *:* ]] && mp=( ${(s.:.)mp} )
manpath=( $mp )
fi
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author