From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Peter Stephenson" <pws@ibmth.df.unipi.it>,
"Zsh hackers list" <zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: pws-25: saving old shell functions from overwriting
Date: Fri, 9 Jul 1999 14:30:46 +0400 [thread overview]
Message-ID: <000601bec9f6$1ac74f80$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <9907041325.AA16621@ibmth.df.unipi.it>
>
> I half promised this some time ago. When installing shell functions, an
> existing shell function of the same name which differs from the new one is
> moved to the file `.old'. This is likely to be unnecessary if the function
> came from a previous zsh distribution, but it's impossible to tell if it's
> been modified locally, so this is safer. We could alternatively have some
> convention about how to recognise an unmodified distribution file, but
> there's no guarantee people will stick to it.
>
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.
/andrej
next prev parent reply other threads:[~1999-07-09 10:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-04 13:25 Peter Stephenson
1999-07-09 10:30 ` Andrej Borsenkow [this message]
1999-07-09 11:05 ` Oliver Kiddle
1999-07-09 11:15 ` Andrej Borsenkow
1999-07-09 12:25 ` PATCH: pws-25: old shell functions again Peter Stephenson
1999-07-09 13:00 ` Peter Stephenson
1999-07-09 16:23 ` 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='000601bec9f6$1ac74f80$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=pws@ibmth.df.unipi.it \
--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).