[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
single-source startup file (/etc/csh.cshrc - like behavior)
From: |
Steve Lane |
Subject: |
single-source startup file (/etc/csh.cshrc - like behavior) |
Date: |
Wed, 9 Jun 2004 07:00:55 -0700 |
User-agent: |
Mutt/1.4.1i |
Greetings. Not sure this is really a bug, but...
I am looking for a way to get bash to duplicate the behavior of
csh/tcsh with respect to /etc/csh.cshrc, that is, a way to get every
bash invocation to execute the same system-wide startup file, without
having to modify a per-user-owned file (e.g. ~/.bashrc) for each user,
since (a) that's inelegant (or at least yucky :), and (b) users could
just delete the modification and/or the file, and That Would Be Bad.
As far as I can tell, there isn't currently a way to do this.
This is a feature I (as an admin) would find very useful (read: consider
essential).
If there is currently a way to do this, I would *love* to hear about it.
If there isn't, it would be great if this functionality could be
incorporated into bash.
Please Cc: me with any replies - I'm not a member of the list (haven't
needed it until now :)
--
Steve Lane /"\
Doudna Lab \ / ASCII Ribbon Campaign
U. C. Berkeley X Against HTML Email
/ \
- single-source startup file (/etc/csh.cshrc - like behavior),
Steve Lane <=