From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18418 invoked from network); 9 Jul 1999 11:09:47 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jul 1999 11:09:47 -0000 Received: (qmail 16371 invoked by alias); 9 Jul 1999 11:09:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7073 Received: (qmail 16364 invoked from network); 9 Jul 1999 11:09:31 -0000 Message-ID: <3785D771.AA06CD9A@thoth.u-net.com> Date: Fri, 09 Jul 1999 12:05:21 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Andrej Borsenkow CC: Zsh hackers list Subject: Re: PATCH: pws-25: saving old shell functions from overwriting References: <000601bec9f6$1ac74f80$21c9ca95@mow.siemens.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Andrej Borsenkow wrote: > I just realised, that it may be better to save the whole directory (in > functions.old probably). Moving files to *.old has potential problem, that if > anybody autloads whole $fpath, he will suddenly get a lot of fn.old functions. One thing which I would like changed is for compinit to add directories to the end of $fpath instead of the beginning. This way, I can override the zsh supplied completions with my own. By putting them in a different directory, I don't have to worry about them being overwritten when I install a new zsh. I would also be tempted to prefix the zsh completion directories with a 'Z' so that compinit would put other directories in /usr/local/share/zsh/functions (such as one named 'Local') first in $fpath. A result of the latest compinstall seems to be that I get the Core directory duplicated in my $fpath. The compinstall created .zshrc adds it so that it can autoload compinit and compinit then adds it in again. Oliver Kiddle