Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: User installation script for new completion
- X-seq: zsh-workers 6204
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: User installation script for new completion
- Date: Mon, 03 May 1999 13:19:16 +0200
- In-reply-to: ""Bart Schaefer""'s message of "Mon, 03 May 1999 03:46:59 DFT." <990503034700.ZM15329@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Bart Schaefer" wrote:
> On May 3, 12:00pm, Peter Stephenson wrote:
> } This fails when functionargzero is not set. Great. Any better
> } suggestions?
>
> Have it test [[ -o functionargzero ]] and skip this when it's not set?
That doesn't really matter, since if the option isn't set, $0 is the shell
name and won't have a / in, so the test fails anyway. Maybe I'll add an
option to compinit to pass down it's own path for use in the test --- it's
not very useful for ordinary users, but could smooth things with
compinstall. And I should turn . into $PWD.
Maybe it's worth checking for Core etc. subdirectories at that point and
adding them all to $fpath. Does anyone have any preferences for where to
install functions, if I ever get round to this? I had imagined just
putting them all (i.e. including Functions stuff) in one big directory.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author