From: Dave Sainty <David.Sainty@Comp.VUW.AC.NZ>
To: zsh-users@math.gatech.edu
Subject: Re: maintaining init files on a [t]csh influenced system
Date: Thu, 07 Sep 1995 17:38:44 +1200 [thread overview]
Message-ID: <199509070538.RAA20576@circa.comp.vuw.ac.nz> (raw)
In-Reply-To: Your message of "Wed, 06 Sep 1995 12:00:41 MST." <950906120041.ZM4788@zyrcon.z-code.com>
Barton E. Schaefer writes:
>
> alias switch='cat >! /tmp/sw$$ <<\endsw ; doswitch'
>
> And finishes up with a doswitch() function that reads the temporary file
> and looks for the case ... breaksw block matching the function params.
Expensive every time you log in!
As far as init files are concerned, how about a function doinitfiles()
that did a [[ /etc/csh.cshrc -nt $HOME/.zsh.cshrc ]]. If true, run a
conversion (autoloaded!) over /etc/csh.cshrc and save the result as
.zsh.cshrc, in either case sourcing the new file. It's gotta be useful
for people running zsh on un-zsh-savvy systems!
So, who wants to write it?
D.
next prev parent reply other threads:[~1995-09-07 5:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <28279.199509061833@stone.dcs.warwick.ac.uk>
1995-09-06 19:00 ` Barton E. Schaefer
1995-09-07 5:38 ` Dave Sainty [this message]
[not found] ` <z-code!Comp.VUW.AC.NZ!David.Sainty>
1995-09-07 8:17 ` Bart Schaefer
1995-09-06 13:23 Andrew Eskilsson
1995-09-06 16:16 ` Toshi Isogai
[not found] ` <toshi_isogai@maxtor.com>
1995-09-06 18:10 ` Barton E. Schaefer
1995-09-06 18:15 ` Zefram
1995-09-06 18:33 ` Zefram
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=199509070538.RAA20576@circa.comp.vuw.ac.nz \
--to=david.sainty@comp.vuw.ac.nz \
--cc=zsh-users@math.gatech.edu \
/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).