[243] in athena10
Re: System Dotfiles (was Re: /svn/athena r22913
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Wed Jun 18 12:25:00 2008
Date: Wed, 18 Jun 2008 12:24:04 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200806181624.m5IGO4iU024174@outgoing.mit.edu>
To: Timothy G Abbott <tabbott@mit.edu>
CC: athena10@mit.edu
In-reply-to: <Pine.LNX.4.64L.0804241240380.15855@vinegar-pot.mit.edu>
> I'm increasingly convinced that the best way to solve a lot of these
> problems might be to keep the tcsh dotfiles almost completely
> unchanged, but fix the bash dotfiles to work how we want dotfiles to
> work in the future.
We seemed to have consensus on this approach, so I'm following up on
it with a change to:
* Restore the cdpath and prompt customizations for tcsh.
* Eliminate the noclobber and ignoreeof customizations for bash.
* Add /sbin and /usr/sbin to the path for both shell types.
I'm going to do some cursory testing of my change this afternoon and
then I'll commit it.
Not addressed from Tim's original mail:
> - Whether we want to keep the bit of code that resets HOME (this
> seems to go awry sometimes). I think we should do tests and make a
> decision.
> - Whether we want to enable programmable bash completion (Debian has
> it commented in /etc/bash.bashrc by default). I think we do. Of
> course, Ubuntu does it already, so this isn't really an Athena 10
> issue.
> - Whether we want to add other things that are currently useful,
> like eval $(lesspipe), to the system dotfiles. I think this may
> pass the test of being essentially uniformly desirable.
> - Whether to change their API so that they are included from
> /etc/bash.bashrc (or whatever) rather than the user's ~/bashrc file.
The first and fourth of these are more work than I want to do at the
moment; the second and third I am wary of since I already wish we had
done less customization of the shell from the start.