zsh-workers
 help / color / mirror / code / Atom feed
From: Bruce Stephens <bruce@cenderis.demon.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: User installation script for new completion
Date: 02 May 1999 15:56:38 +0100	[thread overview]
Message-ID: <m3so9f5xll.fsf@cenderis.demon.co.uk> (raw)
In-Reply-To: Peter Stephenson's message of "Sun, 02 May 1999 16:03:55 +0200"

Peter Stephenson <pws@ibmth.df.unipi.it> writes:

> Here's a script to be run by a user who wants to use the new
> completion system.  Note that it assumes that all the functions from
> under Completion/ are already available somewhere --- we need a set
> of Makefile.in's with install targets to do that.

Yes, and I should update RedHat's zsh.spec file too, to include all
this stuff.

> +#  - Probably should allow a set of directories to be added to $fpath,
> +#    like Core, Base, etc.

Yes, probably.  Couldn't compinit do this, though?  i.e., it could
look at the directory it's in for subdirectories, and add them?

I think I'd split this in to 2 scripts.  

One does a basic initialisation, adding the directory(ies) to fpath
and copying the scripts to ~/completion or whatever.  It can set the
various options to suitable defaults.

The other provides some convenient way for me to alter the fancier
options (like approximate completion and things).

Hmm, it's slightly more complex than that, I suppose, since I'd want
to rerun the first script each time I upgraded zsh to upgrade my
scripts, and I wouldn't want it to clobber other settings, but that's
probably not hard to handle.

Anyway, the idea is not to require innocent users from making choices
they can't reasonably be expected to make yet: it ought to be really
easy to get something that works reasonably, and subtleties should be
postponed if possible.


  reply	other threads:[~1999-05-02 15:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-02 14:03 Peter Stephenson
1999-05-02 14:56 ` Bruce Stephens [this message]
1999-05-03 10:00   ` Peter Stephenson
1999-05-03 10:46     ` Bart Schaefer
1999-05-03 11:19       ` Peter Stephenson
1999-05-03 16:12         ` Bart Schaefer
1999-05-02 23:52 ` Bart Schaefer
1999-05-03  0:34   ` Bart Schaefer
1999-05-03  8:11     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3so9f5xll.fsf@cenderis.demon.co.uk \
    --to=bruce@cenderis.demon.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).